presto-spi/src/main/java/io/prestosql/spi/predicate/Domain.java/Domain/contains
class Domain:    public boolean contains(Domain other)
    {
        checkCompatibility(other);
        return this.union(other).equals(this);
    }