@make_certifier()<EOL>def certify_enum_value(value, kind=None, required=True):
if certify_required(<EOL>value=value,<EOL>required=required,<EOL>):<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>kind(value)<EOL><DEDENT>except:  <EOL><INDENT>raise CertifierValueError(<EOL>message="<STR_LIT>".format(<EOL>value=value, enum=kind.__name__),<EOL>value=value,<EOL>required=required,<EOL>)<EOL><DEDENT>
Certifier for enum values.

:param value:
    The value to be certified.
:param kind:
    The enum type that value should be an instance of.
:param bool required:
    Whether the value can be `None`. Defaults to True.
:raises CertifierValueError:
    The type is invalid