Since JupyterLab 3.x jupyter-server is used instead of of the classic notebook server
from notebook import notebookapp notebookapp.list_running_servers() None