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

    try:
        config_dict = load_config(filename, file_type = "json")
        is_json = True
    except:
        is_json = False
    return(is_json)