#include <iostream>
#include <string>
#include <map>
int main() {
// Assume 'intent' is a map representing intent extras
std::map<std::string, std::string> intent;
// Check if intent has extras
if (!intent.empty()) {
// Print key-value pairs if extras exist
std::cout << "Intent has extras:\n";
for (const auto& pair : intent) {
std::cout << "Key: " << pair.first << ", Value: " << pair.second << '\n';
}
} else {
// Print a message if no extras are found
std::cout << "Intent has no extras.\n";
}
return 0;
}