def METHOD_NAME(protocol, target_address, func, *args, **kwargs):
    with pymargo.core.Engine(protocol, mode=pymargo.client) as engine:
        execute_function = engine.register("execute_function")
        address = engine.lookup(target_address)
        response = execute_function.on(address)(func, *args, **kwargs)
    return response