(datum, schema, **kwargs)
return datum in schema["symbols"]
Check that the data value matches one of the enum symbols.

    i.e "blue" in ["red", green", "blue"]

    Parameters
    ----------
    datum: Any
        Data being validated
    schema: dict
        Schema
    kwargs: Any
        Unused kwargs
Check that the data value matches one of the enum symbols.
Check that the data value matches one of the enum symbols .
def validate_enum(datum, schema, **kwargs):
    """
    Check that the data value matches one of the enum symbols.

    i.e "blue" in ["red", green", "blue"]

    Parameters
    ----------
    datum: Any
        Data being validated
    schema: dict
        Schema
    kwargs: Any
        Unused kwargs
    """
    return datum in schema["symbols"]
def validate_enum ( datum , schema , * * kwargs ) : return datum in schema [ "symbols" ]