inCheckmate property

bool get inCheckmate

Implementation

bool get inCheckmate {
  return inCheck && generateMoves().length == 0;
}