hasAsset

abstract fun hasAsset(): Boolean
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 2;

Return

Whether the asset field is set.