code: def isReadOnly( self ):
          
          if ( self._editor and hasattr(self._editor, 'isReadOnly') ):
              return self._editor.isReadOnly()
          return False
docs: Returns the read only for this widget from the editor.
          Differs per type, not all types support read only.
          
          :param      text | <str>