I have tried the following but it's throwing an exception:

```
                if (!$get('sslot_hf0').value in ('X', 'Y', 'Z', '0')) {
                $get('sslot_hf0').value = 'X';
            }

```

I am looking for a function similar to the `IN` operator in `SQL`