1545
1545
# Perhaps have an explicit 'contains' method on CHKMap ?
1546
1546
return len(list(self.id_to_entry.iteritems([(file_id,)]))) == 1
1548
1551
def _iter_file_id_parents(self, file_id):
1549
1552
"""Yield the parents of file_id up to the root."""
1550
1553
while file_id is not None: