Yes -- if the executor is alive (so if the if statement on line 191 evaluates to true), then there will certainly be an executor alive on the host (the if-statement on line 196), and hadAliveLocations will be set to true on line 197.  So this line is not needed.