isAnyNull method

bool isAnyNull()

@return true if any locations are NULL

Implementation

bool isAnyNull() {
  for (int i = 0; i < location.length; i++) {
    if (location[i] == Location.NONE) return true;
  }
  return false;
}