code: func containsTx(block *types.Block, hash common.Hash) bool {
  	for _, tx := range block.Transactions() {
  		if tx.Hash() == hash {
  			return true
  		}
  	}
  	return false
  }
docs: // containsTx reports whether the transaction with a certain hash
  // is contained within the specified block.