check if object is serialized