add method isDisabled