parameters: (self)
docstring: Return True of the future was cancelled or finished executing.
docstring_summary: Return True of the future was cancelled or finished executing.
docstring_tokens: Return True of the future was cancelled or finished executing .
function: 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]
function_tokens: def done ( self ) : with self . _condition : return self . _state in [ CANCELLED , CANCELLED_AND_NOTIFIED , FINISHED ]