this would be better written as one line instead of three:

```js
return typeof settings !== "undefined" && 'verbose' in settings && settings.verbose === 'true'
```