docs: 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)