@Override
    public boolean contains(Object o) {
        if (!(o instanceof MediaType)) {
            return false;
        }
        for (MediaType e : mediaTypes) {
            if (e.equals(o)) {
                return true;
            }
        }
        return false;
    }
Returns the {@link MediaTypeSet} which is composed of the specified {@link MediaType}s.
core/src/main/java/com/linecorp/armeria/common/MediaTypeSet.java