Can't you just do:

```
    validationState.utf1632 = (test) ? CS_YES : CS_NO;
```