'Check that value is a list of the required type.'

def Validate(self, value, **_):

    if ((value.__class__ is RepeatedFieldHelper) and (value.type_descriptor is self.delegate)):
        result = value.Copy()
    else:
        result = RepeatedFieldHelper(type_descriptor=self.delegate)
        result.Extend(value)
    return result
