remove
Removes the specified key and its associated value from the map. If the key was present in the map, this function returns the value that was present before removal.
Removes the specified key and its associated value from the map if the associated value equals value. Returns whether the removal happened.