def isEnabled(self):
        try:
            return not DOM.getBooleanAttribute(self.getElement(), "disabled")
        except __HOLE__:
            return True
        except AttributeError:
            return True
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/Focus.py/FocusMixin.isEnabled