(self)
return hasattr(self, "_status_handler")
Checks whether the shell supports status messages.

        This is done by checking for the existence of an attribute
        called C{_status_handler}.
Checks whether the shell supports status messages.
Checks whether the shell supports status messages .
def supports_status_messages(self):
        """Checks whether the shell supports status messages.

        This is done by checking for the existence of an attribute
        called C{_status_handler}."""
        return hasattr(self, "_status_handler")
def supports_status_messages ( self ) : return hasattr ( self , "_status_handler" )