code: def show(self, is_img2img):
      return cmd_opts.allow_code
  
file_path: stable-diffusion-webui/scripts/custom_code.py
imports: import modules.scripts
  import gradio
  import ast
  import copy
  from modules.processing import Processed
  from modules.shared import cmd_opts
label_desc: Use image node_id 2 for calling the Script obj's underlying member method code with example usage: obj.show(is_img2img) and returns: cmd_opts