docs: public boolean hasContentType(String... contentTypes) {
          if (contentTypes == null || contentTypes.length == 0) {
              return true;
          }
  
          String normalisedContentType = getNormalisedContentTypeValue();
          if (normalisedContentType == null) {
              return false;
          }
  
          for (String contentType : contentTypes) {
              if (normalisedContentType.contains(contentType)) {
                  return true;
              }
          }
          return false;
      }