public boolean isMeasurable() {
        return this.metricValueProvider instanceof Measurable;
    }
The method determines if the metric value provider is of type Measurable.

@return true if the metric value provider is of type Measurable, false otherwise.
clients/src/main/java/org/apache/kafka/common/metrics/KafkaMetric.java