More correct check for standardUserDefaults