Replace 'not x in y' constructs with 'x not in y'
Finish removing .has_key() calls