code: public IsolationLevel getIsolationLevel() {
          mLock.lock();
          try {
              return (mClosed || mActive == null) ? null : mActive.getIsolationLevel();
          } finally {
              mLock.unlock();
          }
      }
docs: Returns the isolation level of the active transaction, or null if there
  is no active transaction.