code: def get_routine_name(it: t.Any) -> str:
      if hasattr(it, "__qualname__"):
          return it.__qualname__
      elif callable(it) or isinstance(it, type):
          return it.__name__
      else:
          return type(it).__name__
  
file_path: deepchecks/deepchecks/utils/decorators.py
imports: import textwrap
  import typing
  from functools import wraps
  from deepchecks.utils.logger import get_logger
label_desc: Use image node_id 3 for calling a global function with example usage: get_routine_name(it) and returns: it, it, type