code: function isMultiplicationOfEqualNodes(node) {
    if (!Node.Type.isOperator(node) || node.op !== '*') {
      return false;
    }
  
    // return if they are all equal nodes
    return node.args.reduce((a, b) => {
      return a.equals(b);
    });
  
  }
docs: Simple helper function which determines a node is a multiplication node of all equal nodes