Start dftlib dftlib.io dftlib.io.formats dftlib.io.formats.is_json_file dftlib.io.formats.is_json_file¶ is_json_file(file)¶ Checks whether the given file is a DFT in the JSON format. :param file: File. :return: True iff the file is a JSON file.