presto-spi/src/main/java/io/prestosql/spi/predicate/AllOrNoneValueSet.java/AllOrNoneValueSet/containsValue
class AllOrNoneValueSet:    @Override
    public boolean containsValue(Object value)
    {
        if (!Primitives.wrap(type.getJavaType()).isInstance(value)) {
            throw new IllegalArgumentException(format("Value class %s does not match required Type class %s", value.getClass().getName(), Primitives.wrap(type.getJavaType()).getClass().getName()));
        }
        return all;
    }