code: protected static boolean globalTranExists()
      {
          if (tc.isEntryEnabled()) Tr.entry(tc, "globalTranExists");
  
          boolean retval = false;
  
          try
          {
              if (_currentTM != null)
                  retval = _currentTM.getTransaction() != null;
          }
          catch (SystemException se)
          {
              // No FFDC needed as our implementation will never throw exception
          }
  
          if (tc.isEntryEnabled()) Tr.exit(tc, "globalTranExists", retval);
          return retval;
      }
docs: /*
  Checks whether a Global Transaction exists on the
  current thread.
  
  @return <UL>
  <LI>true - If a global transaction exists</LI>
  <LI>false - If a global transaction doesn't exist</LI>
  </UL>
  @since 1.0