public boolean hasExpired() {
        return (time.milliseconds() - this.lastRecordTime) > this.inactiveSensorExpirationTimeMs;
    }
Return true if the Sensor is eligible for removal due to inactivity.
       false otherwise
clients/src/main/java/org/apache/kafka/common/metrics/Sensor.java