@Override
        public boolean equals(final Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            final Generation that = (Generation) o;
            return generationId == that.generationId &&
                    Objects.equals(memberId, that.memberId) &&
                    Objects.equals(protocolName, that.protocolName);
        }
@return true if this generation has a valid member id, false otherwise. A member might have an id before
it becomes part of a group generation.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java