code: def is_proc_alive(pid):
      # Import locally to make sure the bundled version is used if needed
      import psutil
  
      try:
          return psutil.Process(pid).is_running()
      except psutil.NoSuchProcess:
          # The process does not exist.
          return False
  
imports: import argparse
  import errno
  import glob
  import logging
  import logging.handlers
  import os
  import platform
  import re
  import shutil
  import time
  import traceback
  from typing import Callable, List, Optional, Set
  from ray._raylet import GcsClient
  import ray._private.ray_constants
  import ray._private.services
  import ray._private.utils
  from ray._private.ray_logging import setup_component_logger
label_desc: Use image node_id 1 for calling a global function with example usage: is_proc_alive(pid) and returns: psutil, False