Help for this page
if ($checkbutton->cget('-state') eq 'disabled') { # the checkbox is currently disabled }