Incorrect behaviour of Layers.Purge() with InstanceDefinition?


When I call LayerTable.Purge(id, true) the layer (and its childs) are deleted with their geometry unless it contains some InstanceDefinition objects. This is ok.

However LayerTable.Purge(id, true) will still return true even if the layer (or one of its child) could not be deleted because it contains an InstanceDefinition. I think in that case it should return false otherwise their is no ways to know that Purge() has no done all the job.