human
Complete the below
def intent(*intent_list):

    ''''Decorate a callable trigger on a message with any of the given intents.
    .. versionadded:: 5.2.0'
    '''
assistant
#Here is the Python code you requested.
    def add_attribute(function):
        if (not hasattr(function, u'intents')):
            function.intents = []
        function.intents.extend(intent_list)
        return function
    return add_attribute