isValid method

bool isValid()

Determine if position is valid via simple range check of index

Implementation

bool isValid() {
  if (index! < 0 || index! > 80) {
    return true;
  }
  return false;
}