Please use the public isAuthenticated method.