def METHOD_NAME(self, context):
    if hasattr(context, 'node'):
        updateNode(context.node, context)
    else:
        sv_logger.debug("Node is not defined in this context, so will not update the node.")