public boolean isEmpty() {
        return this.peers.isEmpty();
    }
Returns true when the configuration is valid.

@return true if the configuration is valid.
jraft-core/src/main/java/com/alipay/sofa/jraft/conf/Configuration.java