boolean (IntList initializerPositions) { initializerPositions.sort(null); for (int i = 0; i < initializerPositions.size(); i++) { if (initializerPositions.getInt(i) != i) return false; } return true; }