check whether the peer address has been added when add the peer.