js check if dictionary contains code example Example: js dictionary contains key "key" in obj // true, regardless of the actual value