def is_first_login_ever(self):
    return User.objects.count() == 0
Return true if no one has ever logged in to Desktop yet.
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/auth/backend.py/AllowFirstUserDjangoBackend.is_first_login_ever