def check_keys_split(self, decoded):
bad_keys = set(decoded.keys()).difference(set(self._split_keys))<EOL>if bad_keys:<EOL><INDENT>bad_keys = "<STR_LIT:U+002CU+0020>".join(bad_keys)<EOL>raise ValueError("<STR_LIT>"<EOL>.format(bad_keys=pprint_thing(bad_keys)))<EOL><DEDENT>
Checks that dict has only the appropriate keys for orient='split'.