If this option has a predefined amount of values, you can use the 'choice' option type, it will automatically check if the user's value is contained in the list of possible values.