in_stalemate property

bool get in_stalemate

Is it stalemate in current position ?

Implementation

bool get in_stalemate {
  return !in_check && generate_moves().isEmpty;
}