code: def _check_categorical_option_type(
      option_name, option_value, possible_values
  ):
      """
      Check whether or not the requested option is one of the allowed values.
      """
      err_msg = "{0} is not a valid option for {1}. ".format(
          option_value, option_name
      )
      err_msg += " Expected one of: ".format(possible_values)
  
      err_msg += ", ".join(map(str, possible_values))
      if option_value not in possible_values:
          raise ToolkitError(err_msg)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..data_structures.sframe import SArray
  from ..data_structures.sframe import SFrame
  from ..data_structures.sgraph import SGraph
  from ..data_structures.sgraph import Vertex
  from ..data_structures.sgraph import Edge
  from .._cython.cy_sarray import UnitySArrayProxy
  from .._cython.cy_sframe import UnitySFrameProxy
  from .._cython.cy_graph import UnityGraphProxy
  from ..toolkits._main import ToolkitError
  import json
  import six
label_desc: Use image node_id 17 for calling a global function with example usage: _check_categorical_option_type(option_name, option_value, possible_values) without return types