pub(super) fn is_empty(&self) -> bool {
        // We don't consider preconditions to be tasks.
        self.tasks.is_empty()
    }
Returns `true` if there are no tasks in the collection.
Preconditions are not considered tasks.
core/lib/node_framework/src/service/runnables.rs