code: def is_likely_yaml_file(file_path: Union[Text, Path]) -> bool:
      """Check if a file likely contains yaml.
  
      Arguments:
          file_path: path to the file
  
      Returns:
          `True` if the file likely contains data in yaml format, `False` otherwise.
      """
      return Path(file_path).suffix in set(YAML_FILE_EXTENSIONS)
  
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 2 for calling a global function with example usage: is_likely_yaml_file(file_path) and returns: unknown