public boolean canHandleNewAssignment() {
        return MemberState.RECONCILING.getPreviousValidStates().contains(this);
    }
@return True if the member is in a state where it should reconcile the new assignment.
Expected to be true whenever the member is part of the group and intends of staying in it
(ex. false when the member is preparing to leave the group).
clients/src/main/java/org/apache/kafka/clients/consumer/internals/MemberState.java