code: def _check_reader_instances(reader_instances):
      if not reader_instances:
          raise ValueError("No supported files found")
      if not any(
          list(r.available_dataset_ids)
          for r in reader_instances.values()
      ):
          raise ValueError(
              "No dataset could be loaded. Either missing "
              "requirements (such as Epilog, Prolog) or none of the "
              "provided files match the filter parameters."
          )
  
imports: from __future__ import annotations
  import logging
  import os
  import pathlib
  import pickle
  import warnings
  from datetime import datetime, timedelta
  from functools import total_ordering
  import yaml
  from yaml import UnsafeLoader
  from satpy._config import config_search_paths, get_entry_points_config_dirs, glob_config
  from .yaml_reader import AbstractYAMLReader
  from .yaml_reader import load_yaml_configs
label_desc: Use image node_id 18 for calling a global function with example usage: _check_reader_instances(reader_instances) without return types