code: def get_alias(self):
      import networks
  
      if (
          shared.opts.lora_preferred_name == "Filename"
          or self.alias.lower() in networks.forbidden_network_aliases
      ):
          return self.name
      else:
          return self.alias
  
imports: from __future__ import annotations
  import os
  from collections import namedtuple
  import enum
  from modules import sd_models, cache, errors, hashes, shared
label_desc: Use image node_id 5 for calling the NetworkOnDisk obj's underlying member method code with example usage: obj.get_alias() and returns: self, self