def split_user_goals(all_user_goals):
    """
    Helper method to split the user goals in two sets of goals, with and without request slots
    """

    user_goals_no_req_slots = []
    user_goals_with_req_slots = []

    for user_goal in all_user_goals:
        if len(user_goal["request_slots"].keys()) == 0:
            user_goals_no_req_slots.append(user_goal)
        else:
            user_goals_with_req_slots.append(user_goal)

    return user_goals_no_req_slots, user_goals_with_req_slots