whole_func_string: 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
    }
  }
func_code_string: 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
    }
  }
func_documentation_string: determine if contents for a page already exist