Check configuration file type is TOML
    Return a boolean indicating wheather the file is TOML format or not

def is_toml_file(filename, show_warnings = False):
    """Check configuration file type is TOML
    Return a boolean indicating wheather the file is TOML format or not
    """
    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)