transaction_open? (Transaction::Simple)

    # File lib/transaction/simple.rb, line 84
      def transaction_open?(name = nil)
        defined? @__transaction_checkpoint__ or @__transaction_checkpoint__ = nil
        if name.nil?
          Transaction::Simple.debug_io << "Transaction " << "[#{(@__transaction_checkpoint__.nil?) ? 'closed' : 'open'}]\n" if Transaction::Simple.debugging?
          return (not @__transaction_checkpoint__.nil?)
        else
          Transaction::Simple.debug_io << "Transaction(#{name.inspect}) " << "[#{(@__transaction_checkpoint__.nil?) ? 'closed' : 'open'}]\n" if Transaction::Simple.debugging?
          return ((not @__transaction_checkpoint__.nil?) and @__transaction_names__.include?(name))
        end
      end