class_docstr: Class to help watch a process id to detect when it is dead.
code: def __init__(
      self, settings: "SettingsStatic", user_pid: Optional[int]
  ) -> None:
      self.settings = settings
      self.pid = user_pid
      self.check_process_last = None
      self.check_process_interval = settings._internal_check_process
  
imports: import atexit
  import logging
  import os
  import queue
  import sys
  import threading
  import time
  import traceback
  from datetime import datetime
  from typing import TYPE_CHECKING, Any, List, Optional
  import psutil
  import wandb
  from ..interface.interface_queue import InterfaceQueue
  from ..lib import tracelog
  from .None import context, handler, internal_util, sender, writer
label_desc: Use image node_id 1 to create a new ProcessCheck object  with example: obj = ProcessCheck(settings, user_pid)