code: def module_exists(module_name):
      return module_name in (
          name for loader, name, ispkg in iter_modules()
      )
  
imports: from pkgutil import iter_modules
  from pysal import federation_hierarchy
label_desc: Use image node_id 1 for calling a global function with example usage: module_exists(module_name) and returns: unknown