Don't need `.keys()`. The `in` operator on a dict compares keys by default.