hasPublicKey

abstract fun hasPublicKey(): Boolean
owner public key
.TW.NEAR.Proto.PublicKey public_key = 2;

Return

Whether the publicKey field is set.