code: public boolean isAccepted(Iterable<MediaType> ranges) {
          requireNonNull(ranges, "ranges");
          return mediaTypes.match(ranges).isPresent();
      }
docs: Returns whether any of the specified media ranges is accepted by any of the {@link #mediaTypes()}
  defined by this format.