lib/amd/slim.js
function(path) {
			return (
				this.isDefineExpression(path.node) &&
				n.Program.check(path.parent.parent.node) &&
				n.ExpressionStatement.check(path.parent.node)
			);
		}
function(path) {
			return (
				this.isDefineExpression(path.node) &&
				n.Program.check(path.parent.parent.node) &&
				n.ExpressionStatement.check(path.parent.node)
			);
		}
function ( path ) { return ( this . isDefineExpression ( path . node ) && n . Program . check ( path . parent . parent . node ) && n . ExpressionStatement . check ( path . parent . node ) ) ; }
checks if `define` is invoked at the top-level.
checks if define is invoked at the top - level .