How do I check if I imported a module somewhere in the code?
if not has_imported(\"somemodule\"): print(\'you have not imported somemodule\')
if "sys" not in dir(): print("sys not imported!")