index.js
function _has(obj, path) {
  var subpathes = path.split('.');
  while (subpathes.length) {
    var subpath = subpathes.shift();
    if (!obj.hasOwnProperty(subpath)) {
      return false;
    }
    obj = obj[subpath];
  }
  return true;
}
function _has(obj, path) {
  var subpathes = path.split('.');
  while (subpathes.length) {
    var subpath = subpathes.shift();
    if (!obj.hasOwnProperty(subpath)) {
      return false;
    }
    obj = obj[subpath];
  }
  return true;
}
function _has ( obj , path ) { var subpathes = path . split ( '.' ) ; while ( subpathes . length ) { var subpath = subpathes . shift ( ) ; if ( ! obj . hasOwnProperty ( subpath ) ) { return false ; } obj = obj [ subpath ] ; } return true ; }
Check if object has provided nested path

@param {object} obj
@param {string} path
@returns {boolean}
@private
Check if object has provided nested path