h2o-py/h2o/utils/typechecks.py
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
def check(self, var):
        if not isinstance(var, _str_type): return False
        return _enum_mangle(var) in self._consts
def check ( self , var ) : if not isinstance ( var , _str_type ) : return False return _enum_mangle ( var ) in self . _consts
Check whether the provided value is a valid enum constant.
Check whether the provided value is a valid enum constant .