code: def validate(self):
          
          validation = super(StudioEditableXBlockMixin, self).validate()
          self.validate_field_data(validation, self)
          return validation
docs: Validates the state of this XBlock.
  
          Subclasses should override validate_field_data() to validate fields and override this
          only for validation not related to this block's field values.