code: def is_config_file(file_path: Text) -> bool:
      """Checks whether the given file path is a Rasa config file.
  
      Args:
          file_path: Path of the file which should be checked.
  
      Returns:
          `True` if it's a Rasa config file, otherwise `False`.
      """
      file_name = os.path.basename(file_path)
  
      return file_name in ["config.yml", "config.yaml"]
  
imports: import os
  import shutil
  import tempfile
  import uuid
  from enum import Enum
  from pathlib import Path
  from typing import Text, Optional, Union, List, Callable, Set, Iterable
label_desc: Use image node_id 10 for calling a global function with example usage: is_config_file(file_path) and returns: unknown