weldx.util.is_jupyterlab_session#

weldx.util.is_jupyterlab_session()#

Check whether we are in a Jupyter-Lab session.

Return type:

bool

Notes

This is a heuristic based process inspection based on the current Jupyter lab (major 3) version. So it could fail in the future. It will also report false positive in case a classic notebook frontend is started via Jupyter lab.