def METHOD_NAME(self, deploy_plan: SceptrePlan, prune: bool) -> List[Stack]:
    return [
        stack
        for stack in deploy_plan
        if stack.ignore or (stack.obsolete and not prune)
    ]