code: def _get_qualified_name(value: Any) -> str:
      if hasattr(value, "__qualname__"):
          return value.__qualname__
      elif hasattr(value, "__name__"):
          return value.__name__
      raise ValueError(f"{value} does not have a name.")
  
imports: import importlib
  from typing import Any, Sequence
label_desc: Use image node_id 3 for calling a global function with example usage: _get_qualified_name(value) and returns: value, value