class_docstr: Represents the result of an asynchronous computation.
class_docstr_tok: ["Represents","the","result","of","an","asynchronous","computation","."]
docstr: Return True if the future was cancelled or finished executing.
docstr_tok: ["Return","True","if","the","future","was","cancelled","or","finished","executing","."]
code: def done(self):
      """Return True if the future was cancelled or finished executing."""
      with self._condition:
          return self._state in [
              CANCELLED,
              CANCELLED_AND_NOTIFIED,
              FINISHED,
          ]
  
imports: import collections
  import logging
  import threading
  import time
  import types
label_desc: Use image node_id 7 for calling the Future obj's underlying member method code with example usage: obj.done() and returns: unknown