<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def badEntries(self):
 """Creates a new collection of the same type with only the bad entries # Returns `CollectionWithIDs` > A collection of only the bad entries """

        badEntries = set()
        for i in self:
            if i.bad:
                badEntries.add(i)
        return type(self)(badEntries, quietStart = True)