code: def _check_unresolved_slots(
      domain: Domain, stories: StoryGraph
  ) -> None:
      """Checks if there are any unresolved slots.
  
      Args:
          domain: The domain.
          stories: The story graph.
  
      Raises:
          `Sys exit` if there are any unresolved slots.
  
      Returns:
          `None` if there are no unresolved slots.
      """
      unresolved_slots = get_unresolved_slots(domain, stories)
      if unresolved_slots:
          rasa.shared.utils.cli.print_error_and_exit(
              f"Unresolved slots found in stories/rules🚨 \n"
              f'Tried to set slots "{unresolved_slots}" that are not present in'
              f"your domain.\n Check whether they need to be added to the domain or "
              f"whether there is a spelling error."
          )
      return None
  
imports: import time
  from pathlib import Path
  from typing import Text, NamedTuple, Optional, List, Union, Dict, Any
  import randomname
  import rasa.engine.validation
  from rasa.engine.caching import LocalTrainingCache
  from rasa.engine.recipes.recipe import Recipe
  from rasa.engine.runner.dask import DaskGraphRunner
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  from rasa.engine.storage.storage import ModelStorage
  from rasa.engine.training.components import FingerprintStatus
  from rasa.engine.training.graph_trainer import GraphTrainer
  from rasa.shared.core.events import SlotSet
  from rasa.shared.core.training_data.structures import StoryGraph
  from rasa.shared.data import TrainingType
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa import telemetry
  from rasa.shared.core.domain import Domain
  import rasa.utils.common
  import rasa.shared.utils.common
  import rasa.shared.utils.cli
  import rasa.shared.exceptions
  import rasa.shared.utils.io
  import rasa.shared.constants
  import rasa.model
label_desc: Use image node_id 3 for calling a global function with example usage: _check_unresolved_slots(domain, stories) and returns: None