if i wanted to locally store a value in a swift app in xcode like this:
let name = "john doe"
UserDefaults.standard.set(name , forKey: "User Name")
how would I test to see if there is already saved under that key in order to avoid saving the same thing twice or saving two things under the same key? is there a .doesExist sort of function the way theres a .isEmpty?