function isPropertyDefinitionValue(node) {
  const parent = node.parent;

  return (
    parent && parent.type === 'PropertyDefinition' && parent.value === node
  );
}
Checks if a given node appears as the value of a PropertyDefinition node.
@param {ASTNode} node THe node to check.
@returns {boolean} `true` if the node is a PropertyDefinition value,
     false if not.