code: def _is_pyspark_installed():
      global _PYSPARK_INSTALLED
      if _PYSPARK_INSTALLED is None:
          try:
              import pyspark
  
              _PYSPARK_INSTALLED = True
          except ImportError:
              _PYSPARK_INSTALLED = False
  
      if _PYSPARK_INSTALLED:
          import pyspark
  
          return True
      else:
          return False
  
file_path: sk-dist/skdist/distribute/predict.py
imports: import pandas
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _is_pyspark_installed() and returns: True, False