code: def _lookup_module_and_qualname(obj, name=None):
      if name is None:
          name = getattr(obj, "__qualname__", None)
      if name is None:  # pragma: no cover
          # This used to be needed for Python 2.7 support but is probably not
          # needed anymore. However we keep the __name__ introspection in case
          # users of cloudpickle rely on this old behavior for unknown reasons.
          name = getattr(obj, "__name__", None)
  
      module_name = _whichmodule(obj, name)
  
      if module_name is None:
          # In this case, obj.__module__ is None AND obj was not found in any
          # imported module. obj is thus treated as dynamic.
          return None
  
      if module_name == "__main__":
          return None
  
      # Note: if module_name is in sys.modules, the corresponding module is
      # assumed importable at unpickling time. See #357
      module = sys.modules.get(module_name, None)
      if module is None:
          # The main reason why obj's module would not be imported is that this
          # module has been dynamically created, using for example
          # types.ModuleType. The other possibility is that module was removed
          # from sys.modules after obj was created/imported. But this case is not
          # supported, as the standard pickle does not support it either.
          return None
  
      try:
          obj2, parent = _getattribute(module, name)
      except AttributeError:
          # obj was not found inside the module it points to
          return None
      if obj2 is not obj:
          return None
      return module, name
  
imports: import builtins
  import dis
  import opcode
  import platform
  import sys
  import types
  import weakref
  import uuid
  import threading
  import typing
  import warnings
  from .compat import pickle
  from collections import OrderedDict
  from typing import ClassVar, Generic, Union, Tuple, Callable
  from pickle import _getattribute
  from importlib._bootstrap import _find_spec
label_desc: Use image node_id 9 for calling a global function with example usage: _lookup_module_and_qualname(obj, name) and returns: module,  name, None, None, None, None, None