I need to check if an dict has a key or not. How?
if ([[dictionary allKeys] containsObject:key]) { // contains key }
or
if ([dictionary objectForKey:key]) { // contains object }