def METHOD_NAME(self, result: Shareable, client_task: ClientTask, fl_ctx: FLContext):
    """Check the result received from the client.
    See whether the client_task is the last one in the task's list
    If not, then it is a late response and ReservedHeaderKey.REPLY_IS_LATE is
    set to True in result's header.
    Args:
        result (Shareable): an instance of Shareable
        client_task (ClientTask): the task processing state of the client
        fl_ctx (FLContext): fl context that comes with the task request
    """
    task = client_task.task
    if client_task != task.client_tasks[-1]:
        result.set_header(key=ReservedHeaderKey.REPLY_IS_LATE, value=True)