code: def guess_winner(self, i):
          
          for team in self.get_teams():
              if i not in team:
                  continue
              for p in team:
                  if p in self._cache['resigned']:
                      return False
          return True
docs: Guess if a player won.
  
          Find what team the player was on. If anyone
          on their team resigned, assume the player lost.