public boolean connectedToAtLeastOneNetwork(Collection<URI> networkUris){
  if (networkUris != null) {
    if (networkUris.contains(_id)) {
      return true;
    }
    if (_routedNetworks != null) {
      List<URI> routedNetowrks=StringSetUtil.stringSetToUriList(getRoutedNetworks());
      return !Collections.disjoint(networkUris,routedNetowrks);
    }
  }
  return false;
}

public boolean connectedToAtLeastOneNetwork ( Collection < URI > networkUris ) { if ( networkUris != null ) { if ( networkUris . contains ( _id ) ) { return true ; } if ( _routedNetworks != null ) { List < URI > routedNetowrks = StringSetUtil . stringSetToUriList ( getRoutedNetworks ( ) ) ; return ! Collections . disjoint ( networkUris , routedNetowrks ) ; } } return false ; }
returns true if this network is connected to another network
