unless we got rid of the "working code" requirement, not having a custom module written by OP and embedded in the code will return an ImportError on a nonexistent module
@Vogel612 for all intents and purposes, the code is still reviewable but if i'm going to omit the clear requirement i'm yanking it from my code example with a "Yeah this doesn't exist, so i'm yanking it out for the review"
OP should still be required to include their 'clear' code though
in any case, not an issue since i yanked those bits of the answer (I still mention that we can't fully review without the clear code though, and I yanked it out for the review bits.)