(self, x)
return True
check whether given instance x exists in bit array
        Parameters
        ----------
        x

        Returns
        -------
check whether given instance x exists in bit array
        Parameters
        ----------
        x
check whether given instance x exists in bit array Parameters ---------- x
def check(self, x):
        """
        check whether given instance x exists in bit array
        Parameters
        ----------
        x

        Returns
        -------

        """
        hash_encoder = Hash(self.hash_method, False)
        for i in range(self.hash_func_count):
            ind = int(hash_encoder.compute(x, suffix_salt=self.salt[i]), 16) % self.bit_count
            if not self.query_bit(ind):
                return False
        return True
def check ( self , x ) : hash_encoder = Hash ( self . hash_method , False ) for i in range ( self . hash_func_count ) : ind = int ( hash_encoder . compute ( x , suffix_salt = self . salt [ i ] ) , 16 ) % self . bit_count if not self . query_bit ( ind ) : return False return True