Test for OP_SUCCESSx opcodes as defined by BIP342.
Declared in <script/script.h>
<script/script.h>
bool IsOpSuccess(opcodetype const& opcode);
true if opcode is an OP_SUCCESSx opcode.
opcode