code: def needs_restart(self):
      self.comment_after += (
          " <span class='info'>(requires restart)</span>"
      )
      return self
  
imports: import json
  import sys
  from dataclasses import dataclass
  import gradio
  from modules import errors
  from modules.shared_cmd_options import cmd_opts
label_desc: Use image node_id 6 for calling the OptionInfo obj's underlying member method code with example usage: obj.needs_restart() and returns: self