I don't think so. `IPython.keyboard.trigger_keydown` never made sense - it is a utility exclusively for testing, so its definition belongs in tests.