public boolean isPendingMember(String memberId) {
        return pendingJoinMembers.contains(memberId);
    }
Check whether a member has joined the group.

@param memberId the member id.
@return true if the member has yet to join, false otherwise.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java