code: function emptySources(map) {
    return !map.sources ||
      !map.sources.length ||
      !map.sourcesContent ||
      !map.sourcesContent.length ||
      map.sources.length != map.sourcesContent.length;
  }
docs: Determine if 'map' has empty sources
  @param {Object} map
  @returns {Boolean}