$buttonIsDisabled

return true if button is disabled, false otherwise, return undefined if not found

Usage

$buttonIsDisabled
1