function isAssignmentLHS(node) {
  return (
    node.parent
    && node.parent.type === 'AssignmentExpression'
    && node.parent.left === node
  );
}
Checks if a node is being assigned a value: props.bar = 'bar'
@param {ASTNode} node The AST node being checked.
@returns {boolean}