code: func CanTransfer(db vm.StateDB, addr common.Address, amount *big.Int) bool {
  	return db.GetBalance(addr).Cmp(amount) >= 0
  }
docs: // CanTransfer checks whether there are enough funds in the address' account to make a transfer.
  // This does not take the necessary gas in to account to make the transfer valid.