private boolean inConfiguration(final String curr, final String all) {
        final PeerId currPeer = new PeerId();
        if (!currPeer.parse(curr)) {
            return false;
        }
        final Configuration allConf = new Configuration();
        if (!allConf.parse(all)) {
            return false;
        }
        return allConf.contains(currPeer) || allConf.getLearners().contains(currPeer);
    }
Storage engine, there is only one instance in a node,
containing one or more {@link RegionEngine}.

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