hasAuthority

abstract fun hasAuthority(grpId: GroupId, flags: ULong): Boolean

Returns true if this transaction has inputs that confer this authority. This function is used in transaction construction so if the input is read-only, it is assumed that it will be signed later (recall that unsigned read-only inputs are valid but do not confer any authorities), so true will be returned even though the authority is not conferred unless the read-only input is signed. If a blockchain does not support groups (or equivalent functionality), false is always returned.