The return type will depend on the type of data used to set the option value.
Retrieves the current value of a cook context option. This may have been set by a node requesting data from another node, or from the global default context option values stored in the hip file. A number of context options are also set and maintained automatically by Houdini. See hou.isAutoContextOption() for a list of these automatic options.