a methodthat checks if the object is active added in CoreObject