code: def find_cp_reader(rdr):
      """Returns the CPModule from within the loaded Python module
  
      m - an imported module
  
      returns the CPModule class
      """
      reader_name = os.path.splitext(os.path.basename(rdr.__file__))[0]
      for key, item in list(rdr.__dict__.items()):
          if key.lower() == reader_name and issubclass(item, Reader):
              return item
      raise ValueError(
          "Could not find cellprofiler_core.reader.Reader class in %s"
          % rdr.__file__
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/reader/__init__.py
imports: import os
  import sys
  import traceback
  from ._reader import Reader
  from ..constants.reader import ALL_READERS, builtin_readers, BAD_READERS, AVAILABLE_READERS
  import logging
  from ..preferences import get_force_bioformats, config_read_typed
label_desc: Use image node_id 4 for calling a global function with example usage: find_cp_reader(rdr) and returns: item