code: public boolean isRegistered( String clientID , String subscriptionName )
  	{
  		String key = clientID+"-"+subscriptionName;
  		return subscriptions.containsKey(key);
  	}
docs: Test if a durable subscription exists
  @param clientID
  @param subscriptionName
  @return true if the subscription exists