So ```state``` will be run for each item in the sequence to determine if it should be processed or not? Just want to make sure I understand what's going on. I think the docstring might be slightly outdated