<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_advices(target, advices):
 """Add advices on input target. :param Callable target: target from where add advices. :param advices: advices to weave on input target. :type advices: routine or list. :param bool ordered: ensure advices to add will be done in input order """


    interception_fn = _get_function(target)

    target_advices = getattr(interception_fn, _ADVICES, [])
    target_advices += advices

    setattr(interception_fn, _ADVICES, target_advices)