code: def _check_stack(path):
      try:
          for frame in inspect.getouterframes(
              inspect.currentframe(), 0
          ):
              if path in frame[1].replace(os.sep, "/"):
                  return True
      except Exception:
          pass
      return False
  
imports: import inspect
  import sys
  import os
  from distutils.errors import DistutilsPlatformError
  from distutils.dep_util import newer, newer_group
  from distutils import log
  from distutils.command import build_ext
  from distutils import sysconfig
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: _check_stack(path) and returns: False, True