def __set_is_applied_flag(self, chain):
        applied_alters = self.db.get_applied_alters()
        tail = chain
        while tail is not None:
            if tail.id in applied_alters:
                tail.is_applied = True
            else:
                tail.is_applied = False
            tail = tail.backref
Sets a flag for each node in the chain whether it has been applied to the
dataset/ETHPy150Open appnexus/schema-tool/schematool/command/list.py/ListCommand.__set_is_applied_flag