add failed? method to Transaction