pub fn check_map_not_empty<K, V>(map: &HashMap<K, V>, param: &str) -> Result<()>
Checks the map is not empty.