This isn't going to work how you expect because you're using `!=` instead of `!==`. E.g.: `false != null` is false. `'' != null` is also false.

Probably better to simplify?
```js
isDev ? isDev : resp.permissions.developer
```