If ``state`` is not None and is a function, that function will check if ``Workflow.state`` meets expected requirements for each item in the iterable operated on by ``Workflow.__call__``. I can update the docstring