Actually, it seems `is` is always cast as an array, but it might contain either multiple values, or a string of joint values (i.e. `['a', 'b']` or `['a b']`), hence this code.