<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_forbidden_uptodate(self, uptodate):
 """Set all forbidden uptodate values :param uptodatees: a list with forbidden uptodate values :uptodate uptodatees: list :returns: None :ruptodate: None :raises: None """

        if self._forbidden_uptodate == uptodate:
            return
        self._forbidden_uptodate = uptodate
        self.invalidateFilter()