src/paths/multiResolver.js
function hasConfigSetting(pkg, setting) {
  return pkg.config && pkg.config[appName] && pkg.config[appName][setting];
}
function hasConfigSetting(pkg, setting) {
  return pkg.config && pkg.config[appName] && pkg.config[appName][setting];
}
function hasConfigSetting ( pkg , setting ) { return pkg . config && pkg . config [ appName ] && pkg . config [ appName ] [ setting ] ; }
Verifies if the specified setting exists. Returns true if the setting exists, otherwise false.
@param {object} pkg the contents of the package.json in object form.
@param {string} setting Name of the setting to look for
Verifies if the specified setting exists . Returns true if the setting exists otherwise false .