def is_fouling_team_in_penalty(event):
    """Returns True if fouling team over the limit, else False"""
    fouls_to_give_prior_to_foul = event.previous_event.fouls_to_give[event.team_id]
    return fouls_to_give_prior_to_foul == 0