def cookie_auth(self, env, data):
        user = None
        if self._cookie_name in env.request.cookies:
            key = env.request.cookies[self._cookie_name]
            user_identity = self.storage.get(self._cookie_name + ':' +
                                                    key.encode('utf-8'))
            if user_identity == None:
                user = self.identify_user(env, user_identity)
        logger.debug('Authenticated: %r', user)
        env.user = user
        try:
            result = self.next_handler(env, data)
        finally:
            del env.user
        return result
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/auth.py/CookieAuth.cookie_auth/operator `is not` -> `==`