public boolean connectedToNetwork(URI networkUri){
  if (networkUri != null) {
    if (networkUri.equals(_id)) {
      return true;
    }
    if (_routedNetworks != null) {
      return _routedNetworks.contains(networkUri.toString());
    }
  }
  return false;
}

public boolean connectedToNetwork ( URI networkUri ) { if ( networkUri != null ) { if ( networkUri . equals ( _id ) ) { return true ; } if ( _routedNetworks != null ) { return _routedNetworks . contains ( networkUri . toString ( ) ) ; } } return false ; }
returns true if this network is connected to another network
