code: def validate(self, value: LocalizedValue, *_):
          
  
          if self.null:
              return
  
          for lang in self.required:
              lang_val = getattr(value, settings.LANGUAGE_CODE)
  
              if lang_val is None:
                  raise IntegrityError('null value in column "%s.%s" violates '
                                       'not-null constraint' % (self.name, lang))
docs: Validates that the values has been filled in for all required
          languages
  
          Exceptions are raises in order to notify the user
          of invalid values.
  
          Arguments:
              value:
                  The value to validate.