code: def should_continue_running(self):
      if six.PY2:
          all_threads = threading.enumerate()
  
          main_thread_is_alive = any(
              t.__class__ is threading._MainThread and t.is_alive()
              for t in all_threads
          )
      else:
          main_thread_is_alive = threading.main_thread().is_alive()
  
      return not self._interrupted.is_set() and main_thread_is_alive
  
file_path: neptune-client/src/neptune/legacy/internal/threads/neptune_thread.py
imports: import threading
  import six
label_desc: Use image node_id 2 for calling the NeptuneThread obj's underlying member method code with example usage: obj.should_continue_running() and returns: unknown