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.