def __init__(self, prefix='', redis_obj=None, redis_host='localhost', 
            redis_port=6379, redis_db=0
        ):
        assert prefix and prefix not in ' ', \
            'prefix (e.g. "rps") is required and must not contain spaces'
        self.prefix = prefix
        if redis_obj is None:
            redis_obj = redis.Redis(
                host=redis_host, port=redis_port, db=redis_db
            )
        self.r = redis_obj
dataset/ETHPy150Open simonw/django-redis-monitor/django_redis_monitor/redis_monitor.py/RedisMonitor.__init__/swapped operands of `not in`