def audit(self, auditor: 'Auditor') -> None:
    ' Remove invalid handles from :class:`DXFGroup`.\n\n        Invalid handles are: deleted entities, not all entities in the same\n        layout or entities in a block layout.\n\n        '
    self.purge(auditor.entitydb)
    if (not all_entities_on_same_layout(self._data)):
        auditor.fixed_error(code=AuditError.GROUP_ENTITIES_IN_DIFFERENT_LAYOUTS, message=f'Cleared {str(self)}, not all entities are located in the same layout.')
        self.clear()
Remove invalid handles from :class:`DXFGroup`.

Invalid handles are: deleted entities, not all entities in the same
layout or entities in a block layout.
def audit(self, auditor: 'Auditor') -> None:
    ' Remove invalid handles from :class:`DXFGroup`.\n\n        Invalid handles are: deleted entities, not all entities in the same\n        layout or entities in a block layout.\n\n        '
    self.purge(auditor.entitydb)
    if (not all_entities_on_same_layout(self._data)):
        auditor.fixed_error(code=AuditError.GROUP_ENTITIES_IN_DIFFERENT_LAYOUTS, message=f'Cleared {str(self)}, not all entities are located in the same layout.')
        self.clear()