code: def _is_of_known_loaded_module(f, module_name):
      mod = sys.modules.get(module_name, None)
      if mod is None:
          return False
      if any(v is not None for v in mod.__dict__.values() if f is v):
          return True
      return False
  
file_path: DALI/dali/python/nvidia/dali/_autograph/impl/conversion.py
imports: import functools
  import inspect
  import sys
  import unittest
  from nvidia.dali._autograph.core import config
  from nvidia.dali._autograph.pyct import cache
  from nvidia.dali._autograph.pyct import inspect_utils
  from nvidia.dali._autograph.utils import ag_logging
label_desc: Use image node_id 1 for calling a global function with example usage: _is_of_known_loaded_module(f, module_name) and returns: False, False, True