function isOuterIIFE(node){var parent=node.parent;var stmt=parent.parent;/*
             * Verify that the node is an IIEF
             */if(parent.type!=="CallExpression"||parent.callee!==node){return false;}/*
             * Navigate legal ancestors to determine whether this IIEF is outer
             */while(stmt.type==="UnaryExpression"&&(stmt.operator==="!"||stmt.operator==="~"||stmt.operator==="+"||stmt.operator==="-")||stmt.type==="AssignmentExpression"||stmt.type==="LogicalExpression"||stmt.type==="SequenceExpression"||stmt.type==="VariableDeclarator"){stmt=stmt.parent;}return(stmt.type==="ExpressionStatement"||stmt.type==="VariableDeclaration")&&stmt.parent&&stmt.parent.type==="Program";}
Check to see if the node is a file level IIFE
@param {ASTNode} node The function node to check.
@returns {boolean} True if the node is the outer IIFE