public boolean acceptable(double value) {
        return (upper && value <= bound) || (!upper && value >= bound);
    }
An upper or lower bound for metrics
clients/src/main/java/org/apache/kafka/common/metrics/Quota.java