Bug 931819 - [1.2] Fix `is_displayed` usage in keyboard.app on aurora

bug https://bugzilla.mozilla.org/show_bug.cgi?id=931819