hasWitnesses method
Implementation
bool hasWitnesses() {
try {
Input? witness =
ins.firstWhereOrNull((input) => input?.witness != null && input!.witness!.length != 0);
return witness != null;
} catch (e) {
print(e);
throw (e);
}
}