Checks if a window is currently focused.
Parameters:
window
Returns true if the window is focused, false otherwise.
bool isFocused(Window window);