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