bin/theme.js
function containsExternals(modules) {
                    for (var index = 0, length = modules.length; index < length; index++) {
                        if (modules[index].flags.isExternal)
                            return true;
                    }
                    return false;
                }
function containsExternals(modules) {
                    for (var index = 0, length = modules.length; index < length; index++) {
                        if (modules[index].flags.isExternal)
                            return true;
                    }
                    return false;
                }
function containsExternals ( modules ) { for ( var index = 0 , length = modules . length ; index < length ; index ++ ) { if ( modules [ index ] . flags . isExternal ) return true ; } return false ; }
Test whether the given list of modules contains an external module.

@param modules  The list of modules to test.
@returns        TRUE if any of the modules is marked as being external.
Test whether the given list of modules contains an external module .