nit: You could just do ```partitions.forall(partitionRange.contains)```