def METHOD_NAME(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.METHOD_NAME()
    ):
        return False
    return True