public boolean isEmpty() {
        return nextProducerId == EMPTY.nextProducerId;
    }
The next producer ID, or -1 in the special case where no producer IDs have been issued.
metadata/src/main/java/org/apache/kafka/image/ProducerIdsImage.java