Function : isUser

This function is the inverse of isGuest() function. It is also dependent on the current user session. It returns true when a user session is active or logged in.

  if( isUser() ) {

    //session is active

  }
                  
The entire response of this function is dependent on user session configuration. The init file and the database file dbconfig.php must be properly configured along with the Session configuration system for this function to work effectively.