```js
if(!variable && !(name in {})) {
```

would account for members of `Object.prototype`, assuming it hasn't been modified. Otherwise, they should be explicitly listed in `conf/environments.json`.