Simplify the logic in the hasServiceTypeClientsForNetwork

Address the follow-up comments in aosp/2967209.

Bug: 324156009
Test: atest android.net.cts.NsdManagerTest
Change-Id: I36ad58b3bd0b8ff2e8a97327a9e09bf577b12b31
1 file changed