Jupyter.notebook.kernel.inspect() equivalent in Jupyterlab?

The title pretty much it. I’m trying to ping the websocket whenever the Kernel is busy. How can I do that?

Can you describe your use case in more detail?