code: function requiresExtraParens(node) {
              return node.parent && parenthesized[node.parent.type] &&
                      node === node.parent[parenthesized[node.parent.type]];
          }
docs: Determines whether a node is required by the grammar to be wrapped in
  parens, e.g. the test of an if statement.
  @param {ASTNode} node - The AST node
  @returns {boolean} True if parens around node belong to parent node.