dftlib.io.formats.is_json_file

is_json_file(file: str) bool

Checks whether the given file is a DFT in the JSON format. :param file: File. :return: True iff the file is a JSON file.