Returns true if a user is logged in, false otherwise.
true
false
bool isUser() { return loggedInUser != null; }