Check if obj exists.