code: def reset(self, reset_mutated=True):
          '''
          Reset the state of the container and its internal fields
  
          :param reset_mutated: should reset the mutated field too (default: True)
          '''
          super(ForEach, self).reset()
          if reset_mutated:
              self._mutated_field.reset(f reset(self, reset_mutated=True):
          '''
          Reset the state of the container and its internal fields
  
          :param reset_mutated: should reset the mutated field too (default: True)
          '''
          super(ForEach, self).reset()
          if reset_mutated:
              self._mutated_field.reset()
docs: Reset the state of the container and its internal fields
  
          :param reset_mutated: should reset the mutated field too (default: True)