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