def get_generated_lists(self):
    genlists = []
    for c in self.sources:
        if hasattr(c, 'held_object'):
            c = c.held_object
        if isinstance(c, GeneratedList):
            genlists.append(c)
    return genlists
def get_generated_lists(self):
    genlists = []
    for c in self.sources:
        if hasattr(c, 'held_object'):
            c = c.held_object
        if isinstance(c, GeneratedList):
            genlists.append(c)
    return genlists