class_docstr: A class for representing hyperparameters that have a discrete list of possible values.
class_docstr_tok: ["A","class","for","representing","hyperparameters","that","have","a","discrete","list","of","possible","values","."]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def is_valid(self, value):
      """Placeholder docstring"""
      return value in self.values
  
imports: from __future__ import absolute_import
  import json
  from typing import Union
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.utils import to_string
label_desc: Use image node_id 4 for calling the CategoricalParameter obj's underlying member method code with example usage: obj.is_valid(value) and returns: unknown