#NEWLINE# def is_tx_valid( self , txhash ) : #NEWLINE# #INDENT# status = self . store . get_tx_status ( txhash ) #NEWLINE# if ( status == TX_STATUS_CONFIRMED ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# status = self . maybe_recheck_tx_status ( txhash , status ) #NEWLINE# return ( status != TX_STATUS_INVALID )