Check for the request.session attribute.