The driver should be able to confirm whether the on-screen keyboard is open. This is needed because some apps change the UI when the keyboard is open.