code: function containsExternals(modules) {
                      for (var index = 0, length = modules.length; index < length; index++) {
                          if (modules[index].flags.isExternal)
                              return true;
                      }
                      return false;
                  }
docs: 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.