<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_option(key, value):
 """Set the value of the specified option. Available options: parse.full_codestream print.xml print.codestream print.short Parameters key : str Name of a single option. value : New value of option. Option Descriptions parse.full_codestream : bool When False, only the codestream header is parsed for metadata. This can results in faster JP2/JPX parsing. When True, the entire codestream is parsed. [default: False] print.codestream : bool When False, the codestream segments are not printed. Otherwise the segments are printed depending on the value of the parse.full_codestream option. [default: True] print.short : bool When True, only the box ID, offset, and length are displayed. Useful for displaying only the basic structure or skeleton of a JPEG 2000 file. [default: False] print.xml : bool When False, printing of the XML contents of any XML boxes or UUID XMP boxes is suppressed. [default: True] See also -------- get_option """

    if key not in _options.keys():
        raise KeyError('{key} not valid.'.format(key=key))
    _options[key] = value