Surfaces.HasFocus() client Checks if the surface has focus Returns boolean True if the surface has focus, false otherwise. Examples Surfaces.HasFocus – Checks if the surface has focus