(self)
return self.exception() is not None
Return whether a exception is being held in this future.
Return whether a exception is being held in this future.
Return whether a exception is being held in this future .
def failed(self) -> bool:
        """Return whether a exception is being held in this future."""
        return self.exception() is not None
def failed ( self ) -> bool : return self . exception ( ) is not None