code: def missing_config_keys(
      path: Union["Path", Text], mandatory_keys: List[Text]
  ) -> List[Text]:
      """Checks whether the config file at `path` contains the `mandatory_keys`.
  
      Args:
          path: The path to the config file.
          mandatory_keys: A list of mandatory config keys.
  
      Returns:
          The list of missing config keys.
      """
      import rasa.utils.io
  
      if not os.path.exists(path):
          return mandatory_keys
  
      config_data = rasa.shared.utils.io.read_config_file(path)
  
      return [
          k
          for k in mandatory_keys
          if k not in config_data or config_data[k] is None
      ]
  
imports: import json
  import argparse
  import logging
  import os
  import sys
  import time
  from types import FrameType
  from typing import Any, Dict, List, Optional, TYPE_CHECKING, Text, Union, overload
  import randomname
  import rasa.shared.utils.cli
  import rasa.shared.utils.io
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.constants import ASSISTANT_ID_DEFAULT_VALUE, ASSISTANT_ID_KEY, DEFAULT_CONFIG_PATH
  from rasa.shared.utils.cli import print_error
  from rasa import telemetry
label_desc: Use image node_id 4 for calling a global function with example usage: missing_config_keys(path, mandatory_keys) and returns: unknown, mandatory_keys