<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def value(self, view, template=None):
 """Get a list of items validated against the template. """

        out = []
        for item in view:
            out.append(self.subtemplate.value(item, self))
        return out