invenio_migrator/records.py
def is_deleted(self, record=None):
        """Check if record is deleted."""
        record = record or self.revisions[-1][1]
        return any(
            col == 'deleted'
            for col in record.get('collections', [])
        )
def is_deleted(self, record=None):
        record = record or self.revisions[-1][1]
        return any(
            col == 'deleted'
            for col in record.get('collections', [])
        )
def is_deleted ( self , record = None ) : record = record or self . revisions [ - 1 ] [ 1 ] return any ( col == 'deleted' for col in record . get ( 'collections' , [ ] ) )
Check if record is deleted.
Check if record is deleted .