def METHOD_NAME(wrapped, instance, args, kwargs):
    channel = wrapped(*args, **kwargs)
    pin = Pin.get_from(channel)
    if not pin or not pin.enabled():
        return channel
    (host, port) = utils._parse_target_from_args(args, kwargs)
    interceptor_function = create_client_interceptor(pin, host, port)
    return grpc.intercept_channel(channel, interceptor_function)