@staticmethod
def _dump_foreach_function_name(flow_name, idx):
    """Create foreach function name for a dump.

        :param flow_name: flow name
        :type flow_name: str
        :param idx: index of condition within the flow
        :type idx: int
        :return: condition function representation
        """
    assert idx >= 0
    return '_foreach_{}_{}'.format(flow_name, idx)
