AppModel.IsEditorFocused Determines whether the editor currently has focus public bool IsEditorFocused