function shouldFetchContents(state, scsId) {
  const page = state.pages[scsId];
  if (page.contents.length === 0) {
    return true
  } else if (page.isFetching) {
    return false
  } else {
    return page.didInvalidate
  }
}
function shouldFetchContents(state, scsId) {
  const page = state.pages[scsId];
  if (page.contents.length === 0) {
    return true
  } else if (page.isFetching) {
    return false
  } else {
    return page.didInvalidate
  }
}
function shouldFetchContents ( state , scsId ) { const page = state . pages [ scsId ] ; if ( page . contents . length === 0 ) { return true } else if ( page . isFetching ) { return false } else { return page . didInvalidate } }
determine if contents for a page already exist
determine if contents for a page already exist