Add `checkMating` flag