code: def validate(self, *args):
          
          super(self.__class__, self).validate(*args)
          if not self.name:
              raise ValidationError('name is required for Data')
docs: Validate contents of class