code: def _inject_imread_collection_if_needed(module):
      """Add `imread_collection` to module if not already present."""
      if not hasattr(module, "imread_collection") and hasattr(
          module, "imread"
      ):
          imread = getattr(module, "imread")
          func = imread_collection_wrapper(imread)
          setattr(module, "imread_collection", func)
  
file_path: scikit-image/skimage/io/manage_plugins.py
imports: import os.path
  import warnings
  from configparser import ConfigParser
  from glob import glob
  from .collection import imread_collection_wrapper
label_desc: Use image node_id 10 for calling a global function with example usage: _inject_imread_collection_if_needed(module) without return types