def is_authenticated(self):
        if self.is_anonymous:
            return False
        else:
            return True
Authenticate the user's two-factor one time password code.
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/auth/user/abstractions.py/AbstractUser.is_authenticated--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/authentication/drf.py/OSFBasicAuthentication.authenticate_twofactor_credentials