simplify OkeyEnabled checking