(self)
return hasattr(self, "_progress_handler")
Checks whether the shell supports progress bars.

        This is done by checking for the existence of an attribute
        called C{_progress_handler}.
Checks whether the shell supports progress bars.
Checks whether the shell supports progress bars .
def supports_progress_bar(self):
        """Checks whether the shell supports progress bars.

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