Adding a new-key value pair resembles updating, with the difference that the key, like "window" here, is not yet in the dictionary.
"window"
Make sure to pick ticket["window"], followed by =, and finally True.
ticket["window"]
=
True