code: public boolean destinationExists(String destinationName, String busName) throws SIMPNullParameterException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "destinationExists", new Object[] { destinationName, busName });
  
          // Check that the destination name is not null.  If it is, throw a
          // SIMPNullParameterException
          if (destinationName == null)
          {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                  SibTr.exit(
                             tc,
                             "destinationExists",
                             "Destination name null");
  
              throw new SIMPNullParameterException(
                              nls_cwsik.getFormattedMessage(
                                                            "MISSING_PARAM_ERROR_CWSIP0044",
                                                            new Object[] { messageProcessor.getMessagingEngineName() }, null));
  
          }
  
          // Now look for the destination in the hash table
          boolean exists = destinationIndex.containsKey(busName, destinationName);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "destinationExists", new Boolean(exists));
  
          return exists;
  
      }
docs: Method destinationExists
  
  @param destinationName
  @param busName
  @return boolean
  @throws SIMPNullParameterException
  <p>This method returns true if the named destination is known in the
  destination manager, otherwise it returns false.</p>