code: public static boolean isImage(String extension)
    {
      return extension != null ? IMAGE_FILE_EXTENSIONS.contains(extension.toLowerCase()) : false;
    }
docs: Convenient alternative for {@link #isImage(File)} method.
  
  @param extension file extension to test.
  @return true if given file extension denotes an image file.