def get_round_id(rounds_list, tourn_id, tourn_day):
    """
    Helper function to get the round_id
    based on the specified tourn_id and tourn_day

    """

    for item in rounds_list:
        if item.get_tourn_id() == tourn_id:
            if item.get_day() == tourn_day:
                return item.get_round_id()

    # round not found - just return 0
    return 0