def _user_within_active_percentage(self, feature, user):
        if self.redis.exists(_percentage_key(feature)):
            percentage = self.redis.get(_percentage_key(feature))
            if int(user.id) % 10 < int(percentage) / 10:
                return True
        return False
dataset/ETHPy150Open asenchi/proclaim/proclaim.py/Proclaim._user_within_active_percentage/original