def in_error_state ( self ):
        return (self.invalid or self._error)

#-------------------------------------------------------------------------------
#  'CustomEditor' class:
#-------------------------------------------------------------------------------
Returns whether or not the editor is in an error state.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py/SimpleEditor.in_error_state