Rename the variable to `apiWhenKeyPairExist`?