rust check if key exists in hashmap code example Example: rust check if key in hashmap m.contains_key(&k)