presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/organization/ShardRange.java/ShardRange/overlaps
class ShardRange:    public boolean overlaps(ShardRange other)
    {
        return this.getMinTuple().compareTo(other.getMaxTuple()) <= 0 &&
                other.getMinTuple().compareTo(this.getMaxTuple()) <= 0;
    }