Adding a new condition: Check if key exists