is-path-global 
Check if a path is in PATH
Install
$ npm install --save is-path-global
Usage
var isPathGlobal = require('is-path-global');
isPathGlobal('/bin/sh');
//=> true
isPathGlobal('/home/sirjohndoe');
//=> false
License
MIT © Kevin Mårtensson