@Override
          public HostRoleCommand apply(Long taskId) {
            return activeTasksMap.get(taskId);
          }
Returns the computed status of the stage from the status of it's host role commands
@param stagePK {@link StageEntityPK} primary key for the stage entity
@param hostRoleCommandListAll list of all hrc received whose status has been received from agent
@return {@link Boolean} <code>TRUE</code> if status of the given stage changed.
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/tasks/TaskStatusListener.java