<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def wrap_node(self, node, options):
        '''\
        celery registers tasks by decorating them, and so do we, so the user
        can pass a celery task and we'll wrap our code with theirs in a nice
        package celery can execute.
        '''
        if 'celery_task' in options:
            return options['celery_task'](node)

        return self.celery_task(node)