check if a val is in a dictionary code example Example: check if a key is in a map if ( m.find("f") == m.end() ) { // not found } else { // found }