'Return the current focused :class:`.SchemeNode` or ``None`` if no
node has focus.'

def focusNode(self):

    focus = self.__scene.focusItem()
    node = None
    if isinstance(focus, items.NodeItem):
        try:
            node = self.__scene.node_for_item(focus)
        except KeyError:
            node = None
    return node
