@property
    def team(self):
        """
        Returns:
            Team: the team represented by this entry. None if this entry is for a summoner
        """
        if not self.data.playerOrTeamId:
            return None

        try:
            int(self.data.playerOrTeamId)
            return None
        except __HOLE__:
            return cassiopeia.riotapi.get_team_by_id(self.data.playerOrTeamId)
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/league.py/Entry.team