public boolean isExpired() {
        timer.update();
        return timer.isExpired();
    }
{@code TimedRequestState} adds to a {@link RequestState} a {@link Timer} with which to keep track
of the request's expiration.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/TimedRequestState.java