docs: @Override
      public boolean isImage() {
          if (getURI() == null) {
              return false;
          }
  
          try {
              // ZAP: prevents a NullPointerException when no path exists
              final String path = getURI().getPath();
              if (path != null) {
                  return (patternImage.matcher(path).find());
              }
              
          } catch (URIException e) {
              log.error(e.getMessage(), e);
          }
          
          return false;
      }