def _translate_key(key):
d = _get_deprecated_option(key)<EOL>if d:<EOL><INDENT>return d.rkey or key<EOL><DEDENT>else:<EOL><INDENT>return key<EOL><DEDENT>
if key id deprecated and a replacement key defined, will return the
replacement key, otherwise returns `key` as - is