Whether this item's index is within the specified range (inclusive).
bool isInRange(int start, int end) => index >= start && index <= end;