'Tests a key\'s membership in this bloom filter.
>>> b = ScalableBloomFilter(initial_capacity=100, error_rate=0.001,                                     mode=ScalableBloomFilter.SMALL_SET_GROWTH)
>>> b.add("hello")
True
>>> "hello" in b
True'

def __contains__(self, key):

    for f in reversed(self.filters):
        if (key in f):
            return True
    return False
