When using weak maps, does a player's entry in the map automatically get removed on them leaving the game?

I can’t find a lot of info on weak maps so I asked the developer assistant about how to remove player’s entry from a weak map when they leave a game. It told me this:

Automatic Elimination: Because it is a weak_map(player, logic), the engine treats the player key as a “weak reference.” As soon as a player leaves the match, they are no longer a valid object in the game’s playspace. At that moment, Verse automatically eliminates that player’s entry from your map.”

Is this accurate? I just want to make sure because it seems too easy to be true lol

This is what my weak map looks like:

var IsMoneyBagFull : weak_map(player, logic) = map{}

TLDR: You don’t, that would be the same as deleting all his persistable data. Weak maps are global and not per map, it lives forever even when nobody is playing the map/everyone offline. It is the global save for each character…

You just “access” the player data during the game. And you can only do that if the player is currently online, but this does not mean that the data only exists when he is online.
When player leaves, its handle is invalidated so you can’t access his data again, but that data still exists stored on epic servers (and is not attached to the current session only, if the player joins a new session it will have that same data too)