Checks if the given filename corresponds to a PDF file.
static bool isPDFFile(String filename) { return _hasExtension(filename, ['pdf']); }