Returns a boolean indicating whether the editor view is open.
boolean
function getInEditor(state) { return state.views["Main"] === "editor"; }