Nested ternary statements make this code hard to read. Please update it to use if statements:
```
if (_.isBoolean(maxUnitCount)) {
    // if maxUnitCount is a boolean, then we assume it's meant to be the verbosity setting
    verbosity = maxUnitCount;
} else if (!_.isBoolean(verbosity)) {
    // otherwise, if verbosity isn't set, default to false
    verbosity = false;
}
```
I didn't create a new `verbose` variable (just re-used verbosity). You'll need to update the other references to `verbose` to use this code.