code: def global_response_interceptor(self):
          # type: () -> Callable
          
          def wrapper(process_func):
              if not callable(process_func):
                  raise SkillBuilderException(
                      "Global Response Interceptor process_func input "
                      "parameter should be callable")
  
              class_attributes = {
                  "process": (
                      lambda self, handler_input, response: process_func(
                          handler_input, response))
              }
  
              response_interceptor = type(
                  "ResponseInterceptor{}".format(
                      process_func.__name__.title().replace("_", "")),
                  (AbstractResponseInterceptor,), class_attributes)
  
              self.add_global_response_interceptor(
                  response_interceptor=response_interceptor())
          return wrapper
docs: Decorator that can be used to add global
          response interceptors easily to the builder.
  
          The returned wrapper function can be applied as a decorator
          on any function that processes the input and the response
          generated by the request handler. The function should follow
          the signature of the process function in
          :py:class:`ask_sdk_runtime.dispatch_components.request_components.AbstractResponseInterceptor`
          class.
  
          :return: Wrapper function that can be decorated on a
              interceptor process function.