boolean hasCompletedFetches() {
        return !fetchBuffer.isEmpty();
    }
Return whether we have any completed fetches pending return to the user. This method is thread-safe. Has
visibility for testing.

@return true if there are completed fetches, false otherwise
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractFetch.java