def stack_upgraded?(name)
      old_stack = old_data.stack(name)
      new_stack = new_data.stack(name)
      return true if new_stack.root?
      return true if old_stack.version != new_stack.version
      return true if old_stack.stack_name != new_stack.stack_name
      return true if old_stack.variables != new_stack.variables

      false
    end
def stack_upgraded?(name)
      old_stack = old_data.stack(name)
      new_stack = new_data.stack(name)
      return true if new_stack.root?
      return true if old_stack.version != new_stack.version
      return true if old_stack.stack_name != new_stack.stack_name
      return true if old_stack.variables != new_stack.variables

      false
    end
Stack is upgraded if version, stack name, variables change or stack is root

 @param name [String]
 @return [Boolean]