public boolean isEmpty() {
        return acknowledgements.isEmpty();
    }
Whether the set of acknowledgements is empty.

@return Whether the set of acknowledgements is empty.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Acknowledgements.java