code: 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;
      }
docs: Tells whether or not the HTTP header contains any of the given {@code Content-Type} values.
  <p>
  The values are expected to be in lower case.
  
  @param contentTypes the values to check.
  @return {@code true} if any of the given values is contained in the (first) {@code Content-Type} header, {@code false}
  otherwise.
  @since TODO add version
  @see #getNormalisedContentTypeValue()