in_draw property

bool get in_draw

It is draw ?

Implementation

bool get in_draw {
  return half_moves >= 100 ||
      in_stalemate ||
      insufficient_material ||
      in_threefold_repetition;
}