docs: def containsTie(self):
          """
          Returns True if the underlying weighted majority graph contains a tie between any pair of
          candidates and returns False otherwise.
          """
  
          # If a value of 0 is present in the wmgMap, we assume that it represents a tie.
          for cand in self.wmgMap.keys():
              if 0 in self.wmgMap[cand].values():
                  return True
          return False