<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setEventThreshold(self, value):
 """ what is the minimum total weight that an event has to have in order to get it among the results? @param value: threshold to use """

        assert isinstance(value, int)
        assert value >= 0
        self.topicPage["eventTreshWgt"] = value