Almost in the Raku Programming Language, bit with a single |
states.includes('VALID' | 'IN_PROGRESS')
is effectively the same as: states.includes('VALID') || states.includes('IN_PROGRESS')
See https://docs.raku.org/type/Junction