How can I export this overwriting function so that an importing module can check whether the function has been called?
// util.js export function isPageload() {