def __contains__(self, name):
        retval = True
        for pos in self._hashes(name):
            retval = retval and bool(self.hash & (2 ** pos))
        return retval
This function is used by the 'in' keyword
dataset/ETHPy150Open chineking/cola/cola/core/bloomfilter/__init__.py/BloomFilter.__contains__