code: def kill_process_tree(process, use_psutil=True):
      """Terminate process and its descendants with SIGKILL"""
      if use_psutil and psutil is not None:
          _kill_process_tree_with_psutil(process)
      else:
          _kill_process_tree_without_psutil(process)
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/backend/utils.py
imports: import os
  import sys
  import time
  import errno
  import signal
  import warnings
  import subprocess
  import traceback
label_desc: Use image node_id 1 for calling a global function with example usage: kill_process_tree(process, use_psutil) without return types