presto-spi/src/main/java/io/prestosql/spi/predicate/Range.java/Range/overlaps
class Range:    public boolean overlaps(Range other)
    {
        checkTypeCompatibility(other);
        return this.getLow().compareTo(other.getHigh()) <= 0 &&
                other.getLow().compareTo(this.getHigh()) <= 0;
    }