@property
def user(self):
    if (self._user is None):
        raise RequestHasNoUser('Trying to access Request.user while user is unset.')
    if (not self._user):
        raise RequestHasNoUser('Trying to access Request.user while user is empty.')
    return self._user
@property
def user(self):
    if (self._user is None):
        raise RequestHasNoUser('Trying to access Request.user while user is unset.')
    if (not self._user):
        raise RequestHasNoUser('Trying to access Request.user while user is empty.')
    return self._user