private fun ScriptHash.wallet_checkWitness(): Boolean
Calls Runtime.checkWitness on the provided script hash. Avoids making the call if the current ScriptContainer is null, which is the case when rpc "invokescript" is used.