Returns true if the input focus is within the window. If input focus is within the window, it will receive keystrokes from the user.
See also: has_toplevel_focus() is-active