isLoggedIn method

bool isLoggedIn()

Returns whether the user is logged in.

Implementation

bool isLoggedIn() {
  return code == 0;
}