Rename hasFocusedObject to hasFocusObject