page.ts

export function isSessionPage() {
    return document.URL.indexOf("/sessions") != -1;
}

export function isRootPage() {
    return document.URL.indexOf("/sessions") == -1;
}