[FIX] Evaluate required boolean properties correctly in validation

```
return _.isUndefined(val) && 'is required';
```