Is the entity referenced?
LOADLIB "mod::wrd/lib/internal/wrdentity.whlib"; BOOLEAN FUNCTION IsReferenced()
TRUE if a reference to this entity exists
Check whether any entity refers to this one, including historical references. This function is mainly intended as a 'safe to delete' check. Events, registry entries and direct self-references are ignored, but a circular reference (through another entity) is still counted as a reference.