<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def discardID(self, idVal):
 """Checks if the collected items contains the give _idVal_ and discards it if it is found, will not raise an exception if item is not found # Parameters _idVal_ : `str` > The discarded id string """

        for i in self:
            if i.id == idVal:
                self._collection.discard(i)
                return