public static boolean sanityCheckTopicPartitionTags(Map<String, String> tags) {
        return tags.containsKey("topic") && tags.containsKey("partition");
    }
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