is `latest_task.child_state` ok to call if `latest_task` is `None`?