class RemotePeerBean implements RemotePeerMXBean,ZKMBeanInfo {

    @Override
    public boolean isLeader() {
        return localPeer.isLeader(peer.getId());
    }

    public  RemotePeerBean(QuorumPeer localPeer, QuorumPeer.QuorumServer peer);

}