Utility method to check if a value is in a list of possible values.
Authored by: josefjordan 2024-06-18
Parent: [r373]
Child: [r375]