Add isDestroyed() check