code: public boolean isLogedIn()
      {
          boolean ret = false;
          if (this.userName != null) {
              ret = true;
          } else if (!isSessionInvalidated())  {
              ret = lazyLogin();
          }
          return ret;
      }
docs: Method to check if a user is checked in.
  
  @return true if a user is checked in, else false
  @see #userName