class MediaTypeHelper {

    public static boolean isConsume(List<MediaType> consumes, MediaType contentType) {
        return consumes.stream().anyMatch(consume -> isMatched(consume, contentType));
    }

    private  MediaTypeHelper();

}