public boolean supportsProtocols(ClassicGroupMember member) {
        return supportsProtocols(
            member.protocolType(),
            ClassicGroupMember.plainProtocolSet(member.supportedProtocols())
        );
    }
Checks whether at least one of the given protocols can be supported. A
protocol can be supported if it is supported by all members.

@param member               the member to check.

@return a boolean based on the condition mentioned above.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java