from lnx.logicnode.lnx_nodes import *

class IsNotNoneNode(LnxLogicTreeNode):
    """Passes through its activation only if the plugged-in value is
    not `null`.

    @seeNode Is Null"""
    bl_idname = 'LNIsNotNoneNode'
    bl_label = 'Is Not Null'
    lnx_version = 1

    def lnx_init(self, context):
        self.add_input('LnxNodeSocketAction', 'In')
        self.add_input('LnxDynamicSocket', 'Value')

        self.add_output('LnxNodeSocketAction', 'Out')