public final boolean isEmpty() {
        return driver.isEmpty(topic);
    }
Verify if the topic queue is empty.

@return {@code true} if no more record in the topic queue.
streams/test-utils/src/main/java/org/apache/kafka/streams/TestOutputTopic.java