public boolean isAccepted(MediaType first, MediaType... rest) {
        requireNonNull(first, "first");
        requireNonNull(rest, "rest");
        return isAccepted(Lists.asList(first, rest));
    }
public boolean isAccepted ( MediaType first , MediaType ... rest ) { requireNonNull ( first , "first" ) ; requireNonNull ( rest , "rest" ) ; return isAccepted ( Lists . asList ( first , rest ) ) ; }
Returns whether any of the specified media ranges is accepted by any of the {@link #mediaTypes()}
defined by this format.