def _user_in_active_group(self, feature, user):
        if self.redis.exists(_group_key(feature)):
            active_groups = self.redis.smembers(_group_key(feature))
            if active_groups:
                for grp in active_groups:
                    if self.groups[grp] in user.id:
                        return True
        return False
dataset/ETHPy150Open asenchi/proclaim/proclaim.py/Proclaim._user_in_active_group/swapped operands of `in`