For completeness, can you add an `isDestoyed` function as well.  It will just always return false.  `destroyObject` will then replace it with a version that returns true.