<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_ini_file(filename, show_warnings = False):
 """Check configuration file type is INI Return a boolean indicating wheather the file is INI format or not """

    try:
        config_dict = load_config(filename, file_type = "ini")
        if config_dict == {}:
            is_ini = False
        else:
            is_ini = True
    except:
        is_ini = False
    return(is_ini)