How to Check If an Inserted Object Was Already in a Map (with Expressive Code)

/how-to-check-if-an-inserted-object-was-