<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_dict_to_bullets(target, value):
 """Add notes and actions in dictionary to the bullets :param target: Target bullets :type target: Bullets :param value: Dictionary that contains actions or notes :type value: dict :return: Updated bullets :rtype: Bullets """

    actions = value.get('action_list')
    notes = value.get('item_list')
    items_tobe_added = []
    if actions:
        items_tobe_added = actions
    elif notes:
        items_tobe_added = notes

    if items_tobe_added:
        for item in items_tobe_added:
            target.add(m.Text(item))
    return target