code: public boolean isSameRM(final XAResource xares) throws XAException {
  
          final String methodName = "isSameRM";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, xares);
          }
  
          final boolean isSameRm;
  
          if (xares instanceof SibRaXaResource) {
              isSameRm = _siXaResource
                      .isSameRM(((SibRaXaResource) xares)
                              .getSiXaResource());
          } else {
              isSameRm = xares.isSameRM(_siXaResource);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName, Boolean.valueOf(isSameRm));
          }
          return isSameRm;
  
      }
docs: /*
  (non-Javadoc)
  
  @see javax.transaction.xa.XAResource#isSameRM(javax.transaction.xa.XAResource)