presto-main/src/main/java/io/prestosql/sql/planner/DomainTranslator.java/DomainTranslator/isBetween
class DomainTranslator:    private static boolean isBetween(Range range)
    {
        return !range.getLow().isLowerUnbounded() && range.getLow().getBound() == Marker.Bound.EXACTLY
                && !range.getHigh().isUpperUnbounded() && range.getHigh().getBound() == Marker.Bound.EXACTLY;
    }