code: def disable_importlib_metadata_finder(metadata):
      """
      Ensure importlib_metadata doesn't provide older, incompatible
      Distributions.
  
      Workaround for #3102.
      """
      try:
          import importlib_metadata
      except ImportError:
          return
      except AttributeError:
          from .warnings import SetuptoolsWarning
  
          SetuptoolsWarning.emit(
              "Incompatibility problem.",
              """
              `importlib-metadata` version is incompatible with `setuptools`.
              This problem is likely to be solved by installing an updated version of
              `importlib-metadata`.
              """,
              see_url="https://github.com/python/importlib_metadata/issues/396",
          )  # Ensure a descriptive message is shown.
          raise  # This exception can be suppressed by _distutils_hack
  
      if importlib_metadata is metadata:
          return
      to_remove = [
          ob
          for ob in sys.meta_path
          if isinstance(ob, importlib_metadata.MetadataPathFinder)
      ]
      for item in to_remove:
          sys.meta_path.remove(item)
  
label_desc: Use image node_id 1 for calling a global function with example usage: disable_importlib_metadata_finder(metadata) without return types