Checks if string is an pdf file. 检查字符串是否为pdf文件
static bool isPDF(String s) => RegexUtils.hasMatch(s, RegexConstants.pdf);