private boolean containsOnlyFillsOrEdges(boolean allowEdges) {
    boolean empty = true;
    for (var layer : layers.values()) {
      for (var feature : layer.encodedFeatures) {
        empty = false;
        if (!feature.geometry.isFillOrEdge(allowEdges)) {
          return false;
        }
      }
    }
    return !empty;
  }
Returns true if this tile contains only polygon fills or horizontal/vertical edges that are likely to be repeated
across tiles.
planetiler-core/src/main/java/com/onthegomap/planetiler/VectorTile.java