def METHOD_NAME(self):
    self.var_name = self.var_names
    ng = self.id_data
    wifi_dict = {node.var_name: node
                 for node in ng.nodes
                 if node.bl_idname == 'WifiInNode'}
    self.outputs.clear()
    if self.var_name in wifi_dict:
        self.outputs.clear()
        node = wifi_dict[self.var_name]
        self.update()
    else:
        self.outputs.clear()