Whether this item's index is a multiple of divisor.
divisor
bool isMultipleOf(int divisor) => index % divisor == 0;