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