code: def RemoveConnectedPeer(self, peer):
          
          if peer in self.Peers:
              self.Peers.remove(peer)
docs: Remove a connected peer from the known peers list.
  
          Args:
              peer (NeoNode): instance.