public boolean removeStateListener(final K id, final StateListener listener) {
        final List<StateListener> group = this.stateListeners.get(id);
        if (group == null) {
            return false;
        }
        return group.remove(listener);
    }
The container of raft state listener, each key(id) corresponds to a listener group.

@author jiachun.fjc
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/StateListenerContainer.java