code: function isPropertyOrKey(path) {
    return path.parentPath.get('key') === path || path.parentPath.get('property') === path;
  }
docs: Determine if 'path' is an key or property of another object
  @param {NodePath} path
  @returns {Boolean}