Returns a boolean indicating whether the track viewer is open.
boolean
function getInViewer(state) { return state.views["Main"] === "viewer" || state.views["Main"] === "editable-viewer"; }