fun isValidTransaction(transaction: Transaction): Boolean
Checking transaction is valid.
transaction - transaction object
transaction
Return true - valid, false - invalid