code: def notify_module_loaded(module):
      name = getattr(module, "__name__", None)
      hooks = _post_import_hooks.get(name, None)
  
      if hooks:
          _post_import_hooks[name] = []
  
          for hook in hooks:
              hook(module)
  
imports: import importlib
  import sys
  import threading
label_desc: Use image node_id 8 for calling a global function with example usage: notify_module_loaded(module) without return types