hasFocus

fun hasFocus(control: Control): Boolean

Checks if the Control has the current keyboard focus.