bool CAccountViewTest::CheckKeyMap(bool bCheckExist) { CKeyID keyID; for (int i = 0; i < VECTOR_SIZE; i++) { if (bCheckExist) { if (!pAccountViewTip->GetKeyId(vRandomRegID.at(i).vRegID, keyID)) { return false; } } else { if (pAccountViewTip->GetKeyId(vRandomRegID.at(i).vRegID, keyID)) { return false; } } } return true; }