When adding check to see if pyq was already loaded in previous PR https://github.com/KxSystems/embedPy/pull/97. standard error was not being correctly redirected. This caused print statements not to be printed in jupyter notebooks
Additional not in if statement resolves this issue
not
in if statement resolves this issue