right detect isPersisted property