Getting the status of whether the control is focused or not. This function can be used on all kinds of control.
ui_get_focus(control);
Return: Boolean
Argument control is the control you want to check.