$buttonIsDisabled

Returns true if the button is disabled, otherwise returns false.
If there's no button, return undefined.

Usage

$buttonIsDisabled