<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _update_frozencell(self, frozen):
 """Updates frozen cell widget Parameters frozen: Bool or string \tUntoggled iif False """


        toggle_state = frozen is not False

        self.ToggleTool(wx.FONTFLAG_MASK, toggle_state)