isLoggedIn() {
            const loggedIn = this.existingSession();

            if (loggedIn && auth.headersSet === false) {
                auth.setAuthHeaders();
            }

            return loggedIn;
        }
// Whether a user is logged in at all
Whether a user is logged in at all
Whether a user is logged in at all
isLoggedIn() {
            const loggedIn = this.existingSession();
            if (loggedIn && auth.headersSet === false) {
                auth.setAuthHeaders();
            }
            return loggedIn;
        }
isLoggedIn ( ) { const loggedIn = this . existingSession ( ) ; if ( loggedIn && auth . headersSet === false ) { auth . setAuthHeaders ( ) ; } return loggedIn ; }
Whether a user is logged in at all
Whether a user is logged in at all