eliable way to match an MCPeerID across notifications — is identity comparison safe?

I have a MultipeerConnectivity-based app where a view controller is opened for a specific connected peer. When data arrives for that peer, my networking manager posts a Notification whose userInfo carries the sender's MCPeerID, and the view controller filters updates like this: guard let incomingPeerID = userInfo["peerID"] as? MCPeerID, incomingPeerID == self.peerID else { return } // apply update…

eliable way to match an MCPeerID across notifications — is identity comparison safe?
 
 
Q