From the documentation, this works:
contains('Hello world', 'llo')
However, this will not:
contains(['6', '7', '8'], matrix.foo)
Unexpected symbol: '['. Located at position 10 within expression: contains(['6', '7', '8'], matrix.foo)
Is there any way to check the that matrix.foo is either 6, 7, or 8 using contains?