def backup_phones(user):
    if not user and user.is_anonymous():
        return PhoneDevice.objects.none()
    return user.phonedevice_set.filter(name='backup')
dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/utils.py/backup_phones/operator `or` -> `and`