`if k in d` does the same thing as `if k in d.keys()` but is much more efficient - can you explain why? (And then look for all uses of `.keys()` and make the change?)