Added new unref method that returns TRUE if object has been destroyed

Merge request reports