public boolean hasAllMembersJoined() {
        return members.size() == numMembersAwaitingJoinResponse && pendingJoinMembers.isEmpty();
    }
@return whether all members have joined.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java