<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate(self, *args):
 """Validate contents of class """

        super(self.__class__, self).validate(*args)
        if not self.name:
            raise ValidationError('name is required for Data')