Returns true when the given index is even and non-negative.
true
static bool isEven(int index) => index >= 0 && index.isEven;