@pexdoc.pcontracts.new_contract()<EOL>def wave_interp_option(obj):
exdesc = pexdoc.pcontracts.get_exdesc()<EOL>if not isinstance(obj, str):<EOL><INDENT>raise ValueError(exdesc)<EOL><DEDENT>if obj.upper() in ["<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>return None<EOL><DEDENT>raise ValueError(exdesc)<EOL>
r"""
    Validate if an object is a :ref:`WaveInterpOption` pseudo-type object.

    :param obj: Object
    :type  obj: any

    :raises: RuntimeError (Argument \`*[argument_name]*\` is not valid). The
     token \*[argument_name]\* is replaced by the name of the argument the
     contract is attached to

    :rtype: None