public bool IsLeader(string roundName) { Election election = null; if (!electionDict.TryGetValue(roundName, out election)) { throw new Exception("no round:"+roundName); } return election.IsLeader; }