<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_callbacks(obj, log=None):
 """Run callbacks."""

    def run_callback(callback, args):
        return callback(*args)
    return walk_callbacks(obj, run_callback, log)