def __contains__(self, key):
self.hashed_values = self.hashes(key)<EOL>offset = <NUM_LIT:0><EOL>for value in self.hashed_values:<EOL><INDENT>if not self.bitarray[offset + value]:<EOL><INDENT>return False<EOL><DEDENT>offset += self.bits_per_slice<EOL><DEDENT>return True<EOL>
Check membership.