code: def package_home(gdict):
      """
      help function for running paths from out-of-class scripts
      """
      filename = gdict["__file__"]
      return os.path.dirname(filename)
  
file_path: nlp-architect/server/service.py
imports: import json
  import logging
  import os.path
  from importlib import import_module
  from nlp_architect.utils.io import gzip_str
label_desc: Use image node_id 4 for calling a global function with example usage: package_home(gdict) and returns: os