code: def skip_deprecated(app, what, name, obj, skip, options):
      if (
          hasattr(obj, "func_dict")
          and "__deprecated__" in obj.func_dict
      ):
          print("skipping " + name)
          return True
      return skip or False
  
imports: import os
  import sys
  import sphinx_rtd_theme
label_desc: Use image node_id 1 for calling a global function with example usage: skip_deprecated(app, what, name, obj, skip, options) and returns: unknown, True