code: public boolean isApiMessage() {
          MessageType mType = getJsMessageType();
          return (mType == MessageType.JMS || mType == MessageType.SDO);
      }
docs: /*
  Method to distinguish between API message instances and System message instances.
  
  Javadoc description supplied by JsMessage interface.