<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_intent_name(name):
 # type: (str) -> Callable[[HandlerInput], bool] """A predicate function returning a boolean, when name matches the name in Intent Request. The function can be applied on a :py:class:`ask_sdk_core.handler_input.HandlerInput`, to check if the input is of :py:class:`ask_sdk_model.intent_request.IntentRequest` type and if the name of the request matches with the passed name. :param name: Name to be matched with the Intent Request Name :type name: str :return: Predicate function that can be used to check name of the request :rtype: Callable[[HandlerInput], bool] """

    def can_handle_wrapper(handler_input):
        # type: (HandlerInput) -> bool
        return (isinstance(
            handler_input.request_envelope.request, IntentRequest) and
                handler_input.request_envelope.request.intent.name == name)
    return can_handle_wrapper