code: def create_module(
      self, net: network.Network, weights: network.NetworkWeights
  ):
      if all(
          x in weights.w for x in ["lora_up.weight", "lora_down.weight"]
      ):
          return NetworkModuleLora(net, weights)
  
      return None
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/network_lora.py
imports: import torch
  import lyco_helpers
  import network
  from modules import devices
label_desc: Use image node_id 1 for calling the ModuleTypeLora obj's underlying member method code with example usage: obj.create_module(net, weights) and returns: None, NetworkModuleLora