Check the maximum stack size for this script against the policy limit.
Declared in <script/miniscript.h>
<script/miniscript.h>
bool CheckStackSize() const;
True if the stack size stays within the applicable limit.