utils.network.remotes_on_local_tcp_port: trivial simplification of condition
Merge pull request #9544 from cvrebert/patch-1

remotes_on_local_tcp_port(): trivial simplification of condition