(self)
Return True of the future was cancelled or finished executing.
Return True of the future was cancelled or finished executing.
Return True of the future was cancelled or finished executing .
def done(self):
        """Return True of the future was cancelled or finished executing."""
        with self._condition:
            return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
def done ( self ) : with self . _condition : return self . _state in [ CANCELLED , CANCELLED_AND_NOTIFIED , FINISHED ]