I have built a flow which implicitly skips running a given task if a kwarg is empty.
I use something like this within task function for skipping logic: