isEnabled

open override fun isEnabled(): Boolean

Override of View.isEnabled that returns true only if all three sub-controls are enabled.

Return

true if the card number field, expiry field, cvc field, and postal (if required) are enabled, false otherwise