$ 0 0 The laziest solution is test whether the variable responsible to store an object's instance is null after the attempt!