can check if king is in check