code: def poll(self, timeout=0.0):
      if self._in.qsize() > 0:
          return True
      if timeout <= 0.0:
          return False
      with self._in.not_empty:
          self._in.not_empty.wait(timeout)
      return self._in.qsize() > 0
  
file_path: cpython/Lib/multiprocessing/dummy/connection.py
imports: from queue import Queue
label_desc: Use image node_id 2 for calling the Connection obj's underlying member method code with example usage: obj.poll(timeout) and returns: unknown, True, False