class_docstr: Iterator Pipe creates an iterator that can be fed in data from another block of code or thread of execution
docstr: Pushes next item to Iterator and returns True
  If iterator has been closed via close(), doesn't push anything and returns False
docstr_tok: ["Pushes","next","item","to","Iterator","and","returns","True","If","iterator","has","been","closed","via","close","(",")",",","does","n't","push","anything","and","returns","False"]
code: def put(self, data) -> bool:
      """
      Pushes next item to Iterator and returns True
      If iterator has been closed via close(), doesn't push anything and returns False
      """
      if self._sentinel_pushed:
          return False
  
      self._q.put(data)
      return True
  
file_path: h2ogpt/iterators/iterator_pipe.py
imports: import queue
  import asyncio
label_desc: Use image node_id 4 for calling the IteratorPipe obj's underlying member method code with example usage: obj.put(data) and returns: True, False