I'm not sure if that would help you but I would do the following
Code:
ZO_PreHook(KEYBIND_STRIP, "TryHandlingKeybindDown", function(keybind)
-- code which decides where you need to do something about keybind and return truwe which tells that you handled it and original function doesn't have to be called or return false or nil so it acts as normal
end)