There is a feature flag. Your node knows that peer supports peerswap. How to find in public space beforehand I do not know.