Removed redundant call to keys().

The `in` operator already iterates through keys on a `dict`.