Check whether there is no duplicate key across this fragment and all its sub-fragments.
Declared in <script/miniscript.h>
<script/miniscript.h>
bool CheckDuplicateKey() const;
True if no key is duplicated within this fragment or its subfragments.