A much cleaner, more reliable way of checking for focus.