nuke.openPanels

nuke.openPanels()

nodesSelected() -> List

returns a list of Nodes which have panels open.The last item in the list is the currently active Node panel.