(self)
return self._state == _CANCELLED
Return True if the future was cancelled.
Return True if the future was cancelled.
Return True if the future was cancelled .
def cancelled(self):
        """Return True if the future was cancelled."""
        return self._state == _CANCELLED
def cancelled ( self ) : return self . _state == _CANCELLED