docs: private boolean checkForeignSecurityAttributesChanged(MESubscription sub,
                                   boolean foreignSecuredProxy,
                                   String MESubUserId)
  
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "checkForeignSecurityAttributesChanged", new Object[] { sub,
                                                          new Boolean(foreignSecuredProxy),
                                                          MESubUserId });
  
      boolean attrChanged = false;
      if(foreignSecuredProxy)
      {
        if(sub.isForeignSecuredProxy())
        {
          // Need to check the userids
          if(MESubUserId != null)
          {
            if(sub.getMESubUserId() != null)
            {
              // Neither string is null, check whether they
              // are equal
              if(!MESubUserId.equals(sub.getMESubUserId()))
              {
                sub.setMESubUserId(MESubUserId);
                attrChanged = true;
              }
            }
            else
            {
              // Stored subscription was null
              sub.setMESubUserId(MESubUserId);
              attrChanged = true;
            }
          }
          else // MESubUserid is null
          {
            if(sub.getMESubUserId() != null)
            {
              sub.setMESubUserId(null);
              attrChanged = true;
            }
          }
        }
        else
        {
          // The stored subscription was not foreign secured
          sub.setForeignSecuredProxy(true);
          sub.setMESubUserId(MESubUserId);
          attrChanged = true;
        }
      }
      else // the new proxy sub is not foreign secured
      {
        if(sub.isForeignSecuredProxy())
        {
          // The stored subscription was foreign secured
          sub.setForeignSecuredProxy(false);
          sub.setMESubUserId(null);
          attrChanged = true;
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "checkForeignSecurityAttributesChanged", new Boolean(attrChanged));
  
      return attrChanged;
    }