What's the resulting value of `this.isInSidebar` here?

```js
var options = {};
if (options.isInSidebar) {
  this.isInSidebar = options.isInSidebar;
}
```

My proposal does exactly the same. `this.isInSidebar = !!options.isInSidebar;` force casting to a Boolean.