Determines whether this window or control has focus.
To set currently focused window use uiApp.setFocusedWindow().