@wachterjohannes An array with all the states (maybe from a config, but not really necessary, as the handling is coupled quite hard anyway) and an `in_array`-call would be easier to maintain.