def METHOD_NAME(self, team_names):
    teams = []
    for team_name in team_names:
        team = Team.objects.filter(name=team_name).first()
        if not team:
            error = 'Team {} not found'.format(team_name)
            raise ValidationError(error)
        teams.append(team)
    return teams