I am trying to iterate through a list of structs that I want to save with CoreData. However, I have to do a check before each save which needs to run AFTER the last save has