code: def encode_label(text):
      """Encode text escapes for the static control and button labels
  
      The ampersand (&) needs to be encoded as && for wx.StaticText
      and wx.Button in order to keep it from signifying an accelerator.
      """
      return text.replace("&", "&&")
  
imports: import logging
  import threading
  import time
  import wx
  from cellprofiler_core.setting import ValidationError
  import cellprofiler.gui.constants.module_view
  from cellprofiler.gui.module_view._validation_request_controller import ValidationRequestController
label_desc: Use image node_id 26 for calling a global function with example usage: encode_label(text) and returns: text