Adding capability to check if certain modules have been imported during ...

...function calls