add failed? method to Transaction
Merge pull request #14 from BeGateway/add-failed-to-transaction

add failed? method to Transaction