class QuorumState {

    public boolean hasRemoteLeader() {
        return hasLeader() && leaderIdOrNil() != localId;
    }

    public  QuorumState(int localId,
                       Set<Integer> voters,
                       int electionTimeoutMs,
                       int fetchTimeoutMs,
                       QuorumStateStore store,
                       Time time,
                       LogContext logContext,
                       Random random);

}