from lnx.logicnode.lnx_nodes import * class WebviewIsValidNode(LnxLogicTreeNode): """Checks whether the given WebView ID is valid""" bl_idname = 'LNWebviewIsValidNode' bl_label = 'Webview Is Valid' lnx_category = 'Krom Runtime' lnx_section = 'webview' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxIntSocket', 'ID') self.add_output('LnxBoolSocket', 'Valid')