code: public static boolean isImage(@Nullable String fileExtension) {
      if (StringUtils.isEmpty(fileExtension)) {
        return false;
      }
      return IMAGE_FILE_EXTENSIONS.contains(fileExtension.toLowerCase());
    }
docs: Check if the given file extension is a standard image format supported by web browsers and AEM Layer
  implementations.
  @param fileExtension File extension
  @return true if image