Looks like it's using: https://github.com/shtylman/node-process/blob/master/browser.js as the "process" which means we ccould just do:

`inNode = !window.process || !process.browser;`

Right?