def contains(self, key):
        n = binascii.crc32(key) % RING_SIZE
        for start, end in self.ranges:
            if start <= n < end:
                return True
        return False
comparison operators
dataset/ETHPy150Open closeio/redis-hashring/redis_hashring/__init__.py/RingNode.contains--crossover with--dataset/ETHPy150Open xraypy/xraylarch/lib/interpreter.py/Interpreter.on_compare