public boolean includes(int value) {
        if (from.isPresent() && value < from.getAsInt()) return false;
        if (to.isPresent() && value > to.getAsInt()) return false;
        return true;
    }
Returns whether the given value is in this range.
config-provisioning/src/main/java/com/yahoo/config/provision/IntRange.java