code: def _update_frozencell(self, frozen):
          
  
          toggle_state = frozen is not False
  
          self.ToggleTool(wx.FONTFLAG_MASK, toggle_state)
docs: Updates frozen cell widget
  
          Parameters
          ----------
  
          frozen: Bool or string
          \tUntoggled iif False