def _change_user_credentials(self, *args, **kwargs):
        self._is_active = kwargs.get('is_active', True)
        self._is_superuser = kwargs.get('is_superuser', False)
        self._is_staff = kwargs.get('is_staff', False)
        self._is_user = kwargs.get('is_user', False)

        if any([self._is_superuser, self._is_staff, self._is_user]):
            self._is_anonymous = False
        else:
            self._is_anonymous = True
Switches current git branch to branch
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/auth/user/abstractions.py/AbstractUser._change_user_credentials--crossover with--dataset/ETHPy150Open facebook/IT-CPE/autopkg_runner/autopkg_runner.py/change_feature_branch