
    def OnUpdateUI(self, event):
        ....
        if event.IsCheckable()
            event.Check(...some condition...)
