change persisted? method using destroyed? replace @destroyed

if a record was destroyed, it would not be persisted,isn't it?

can see my code