code: public boolean isSameRM(XAResource xares) throws XAException
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isSameRM", xares);
        XAResource actualXARes = xares;
        if (xares instanceof SuspendableXAResource)
        {
           actualXARes = ((SuspendableXAResource) xares).getCurrentXAResource();
        }
        boolean result = currentLiveXAResource.isSameRM(actualXARes);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "isSameRM", result);
        return result; 
     }
docs: In this method we must ensure that we unpack the appropriate XAResource if appropriate from
  the SuspendableXAResource instance if one was passed in.
  
  @see javax.transaction.xa.XAResource#isSameRM(javax.transaction.xa.XAResource)