human
Complete this python program:
def intent_handler(intent_parser):
assistant
#Here is the Python program you requested.

    """Decorator for adding a method as an intent handler.
    """
    def real_decorator(func):
        @wraps(func)
        def handler_method(*args, **kwargs):
            return func(*args, **kwargs)
        _intent_list.append((intent_parser, func))
        return handler_method
    return real_decorator