Check whether the window has the input focus *
true if the window has focus, false otherwise
See Implementation
Check whether the window has the input focus *