private boolean isLogicalRequestSuccessful(LogicalRequest logicalRequest) {
    return logicalRequest != null && logicalRequest.isSuccessful();
  }
Returns if all the tasks in the logical request have completed state.
ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java