def _check_enum(value, formula):
    """
    Specify required enum, syntax "_enum[option1, option2, ..]_"
    All options are case insensitive.
    """

    Specify required enum, syntax "_enum[option1, option2, ..]_"
    All options are case insensitive.
    
surreal/session/config.py