Can you restore the use of the `succeeded` variable?  

It was a deliberate choice to use a variable here, because its name helps people understand this section of code more easily.  Using a variable here also means that you update the variable if the success status changes, and have a single return statement at the end.  This is preferable to having a bunch of return statements scattered around the area.