hasLock

open fun hasLock(): Boolean
Lock script
.TW.Nervos.Proto.Script lock = 3;