def METHOD_NAME(self):
    for step in self.step_hierarchy:
        if step in self.action_dict:
            if self.action_dict[step] == 0:
                self.turn_off_dep_steps(step)
        else:
            self.turn_off_dep_steps(step)