<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def containsID(self, idVal):
 """Checks if the collected items contains the give _idVal_ # Parameters _idVal_ : `str` > The queried id string # Returns `bool` > `True` if the item is in the collection """

        for i in self:
            if i.id == idVal:
                return True
        return False