datasketch/lshensemble.py
def is_empty(self):
        '''
        Returns:
            bool: Check if the index is empty.
        '''
        return all(all(index[r].is_empty() for r in index)
                   for index in self.indexes)
def is_empty(self):
        '''
        Returns:
            bool: Check if the index is empty.
        '''
        return all(all(index[r].is_empty() for r in index)
                   for index in self.indexes)
def is_empty ( self ) : return all ( all ( index [ r ] . is_empty ( ) for r in index ) for index in self . indexes )
Returns:
            bool: Check if the index is empty.
Returns : bool : Check if the index is empty .