bool contains(int offset) => excludedBlockIds.isEmpty || ranges.any((r) => offset >= r.$1 && offset <= r.$2);