dftlib.io.formats.is_text_file

is_text_file(file)

Checks whether the given file is a text file which contains a DFT description. :param file: File. :return: True iff the file is a text file.