class_docstr: PyZMQ Garbage Collector
  
  Used for representing the reference held by libzmq during zero-copy sends.
  This object holds a dictionary, keyed by Python id,
  of the Python objects whose memory are currently in use by zeromq.
  
  When zeromq is done with the memory, it sends a message on an inproc PUSH socket
  containing the packed size_t (32 or 64-bit unsigned int),
  which is the key in the dict.
  When the PULL socket in the gc thread receives that message,
  the reference is popped from the dict,
  and any tracker events that should be signaled fire.
class_docstr_tok: ["PyZMQ","Garbage","Collector","Used","for","representing","the","reference","held","by","libzmq","during","zero-copy","sends",".","This","object","holds","a","dictionary",",","keyed","by","Python","id",",","of","the","Python","objects","whose","memory","are","currently","in","use","by","zeromq",".","When","zeromq","is","done","with","the","memory",",","it","sends","a","message","on","an","inproc","PUSH","socket","containing","the","packed","size_t","(","32","or","64-bit","unsigned","int",")",",","which","is","the","key","in","the","dict",".","When","the","PULL","socket","in","the","gc","thread","receives","that","message",",","the","reference","is","popped","from","the","dict",",","and","any","tracker","events","that","should","be","signaled","fire","."]
docstr: Is the garbage collection thread currently running?
  
  Includes checks for process shutdown or fork.
docstr_tok: ["Is","the","garbage","collection","thread","currently","running","?","Includes","checks","for","process","shutdown","or","fork","."]
code: def is_alive(self):
      """Is the garbage collection thread currently running?
  
      Includes checks for process shutdown or fork.
      """
      if (
          getpid is None
          or getpid() != self.pid
          or self.thread is None
          or not self.thread.is_alive()
      ):
          return False
      return True
  
imports: import atexit
  import struct
  from os import getpid
  from collections import namedtuple
  from threading import Thread, Event, Lock
  import warnings
  import zmq
label_desc: Use image node_id 9 for calling the GarbageCollector obj's underlying member method code with example usage: obj.is_alive() and returns: True, False