Checking values

ok, this is probably a very stupid question but i was wondering if it’s possible to check if the value of a certain parameter equals something.
For example, using LPO with the property function (o.frame). Always check if the value of o.frame equals to a group of values aka (value one, value two etc.), if so do this…


ok, found it myself::

first make a list, for example
values = [value1, value2, etc…]
if (value to check) in values:
do this