code: def is_filetype(filetype: str, extension: str) -> bool:
      """Checks if the file extension matches a given file type.
  
      Args:
          filetype (str): The type of file. See the enum _FileExtensionTypes
          extension (str): The file extension
  
      Returns:
          bool: True if matching
      """
      return extension in _FILE_EXTENSION_MAPPING.get(filetype, [])
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_filetype(filetype, extension) and returns: unknown