Please note 

```js
this.isInSidebar = options.isInSidebar;
```

would work as well