@Override
    public boolean isInStates(final Set<String> statesFilter, final long committedOffset) {
        return statesFilter.contains(state.get(committedOffset).toLowerCaseString());
    }
Populates the list of records with tombstone(s) for deleting the group.

@param records The list of records.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/share/ShareGroup.java