class_docstr: Manage the background execution of callbacks with subprocesses and a diskcache result backend.
class_docstr_tok: ["Manage","the","background","execution","of","callbacks","with","subprocesses","and","a","diskcache","result","backend","."]
code: def terminate_unhealthy_job(self, job):
      import psutil  # pylint: disable=import-outside-toplevel,import-error
  
      job = int(job)
  
      if job and psutil.pid_exists(job):
          if not self.job_running(job):
              self.terminate_job(job)
              return True
  
      return False
  
imports: import traceback
  from contextvars import copy_context
  from .None import BaseLongCallbackManager
  from ..._callback_context import context_value
  from ..._utils import AttributeDict
  from ...exceptions import PreventUpdate
label_desc: Use image node_id 3 for calling the DiskcacheManager obj's underlying member method code with example usage: obj.terminate_unhealthy_job(job) and returns: False, True