def is_authenticated(self):
return self.active and (self.auth_handler is not None) and self.auth_handler.is_authenticated()<EOL>
Return true if this session is active and authenticated.

@return: True if the session is still open and has been authenticated
    successfully; False if authentication failed and/or the session is
    closed.
@rtype: bool