export IsCheck()
negamax able to find two move checkmate

its pretty slow though...