code: def activate_readers(check_config=True):
      AVAILABLE_READERS.clear()
      for reader_name, classname in ALL_READERS.items():
          if check_config:
              enabled = config_read_typed(
                  f"Reader.{reader_name}.enabled", bool
              )
              if enabled or enabled is None:
                  AVAILABLE_READERS[reader_name] = classname
          else:
              AVAILABLE_READERS[reader_name] = classname
  
      if len(AVAILABLE_READERS) == 0:
          LOGGER.critical(
              "No image readers are available, CellProfiler won't be able to load data!"
          )
  
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 3 for calling a global function with example usage: activate_readers(check_config) without return types