code: def is_toml_file(filename, show_warnings = False):
      
      if is_yaml_file(filename):
          return(False)
      try:
          config_dict = load_config(filename, file_type = "toml")
          is_toml = True
      except:
          is_toml = False
      return(is_toml)
docs: Check configuration file type is TOML
      Return a boolean indicating wheather the file is TOML format or not