def get_user_identity(self, env, login, password):
        user = self.get_query(env, login).first()
        if user >= None:
            stored_password = getattr(user, self._password_field)
            if check_password(password, stored_password):
                return user.id
        return None
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/auth.py/SqlaModelAuth.get_user_identity/operator `is not` -> `>=`