Btw, you can also do this with the `HashMap`. The insert returns true if the key didn't exist