notebookutils.runtime is a utility to manage runtime context. context() returns the runtime context as a list.
Useful links