(self)
return self.deleted_count() > 0
Returns True if any documents in this segment are deleted.
Returns True if any documents in this segment are deleted.
Returns True if any documents in this segment are deleted .
def has_deletions(self):
        """
        Returns True if any documents in this segment are deleted.
        """

        return self.deleted_count() > 0
def has_deletions ( self ) : return self . deleted_count ( ) > 0