class_docstr: Represents an attribute whose value can be one of several predefined values.
class_docstr_tok: ["Represents","an","attribute","whose","value","can","be","one","of","several","predefined","values","."]
code: def validate_value(self, value):
      return value in self.choices
  
imports: from collections.abc import MutableMapping
  from numbers import Integral
  from hls4ml.model.types import NamedType, Source, TensorVariable, WeightVariable
  from hls4ml.utils.string_utils import convert_to_pascal_case
label_desc: Use image node_id 2 for calling the ChoiceAttribute obj's underlying member method code with example usage: obj.validate_value(value) and returns: unknown