class_docstr: Enum-like type, however values are matched case-insensitively.
class_docstr_tok: ["Enum-like","type",",","however","values","are","matched","case-insensitively","."]
docstr: Check whether the provided value is a valid enum constant.
docstr_tok: ["Check","whether","the","provided","value","is","a","valid","enum","constant","."]
code: def check(self, var):
      """Check whether the provided value is a valid enum constant."""
      if not isinstance(var, _str_type):
          return False
      return _enum_mangle(var) in self._consts
  
imports: from h2o.utils.compatibility import *
  import importlib
  import io
  import re
  import sys
  import tokenize
  from types import BuiltinFunctionType, FunctionType
  from h2o.exceptions import H2OTypeError, H2OValueError
label_desc: Use image node_id 2 for calling the Enum obj's underlying member method code with example usage: obj.check(var) and returns: unknown, False