public boolean isEmpty() {
        return numRecords == 0 && !positionAdvanced;
    }
@return {@code true} if and only if this fetch did not return any user-visible (i.e., non-control) records, and
did not cause the consumer position to advance for any topic partitions
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetch.java