public static boolean sanityCheckBrokerMetricsCompleteness(AutoBalancerMetrics metrics) {
        return metrics.getMetricValueMap().keySet().containsAll(MetricVersion.LATEST_VERSION.requiredBrokerMetrics());
    }
Check if tags are valid for a topic-partition metric

@param tags metric tags
@return true if valid, false otherwise
core/src/main/java/kafka/autobalancer/metricsreporter/metric/MetricsUtils.java