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

        for i in self:
            if i.id == idVal:
                self._collection.remove(i)
                return
        raise KeyError("A Record with the ID '{}' was not found in the RecordCollection: '{}'.".format(idVal, self))