code: def add_validator(self, validator):
          
          if not isinstance(validator, AbstractValidator):
              err = 'Validator must be of type {}'.format(AbstractValidator)
              raise InvalidValidator(err)
  
          self.validators.append(validator)
          return self
docs: Add validator to property
  
          :param validator: object, extending from AbstractValidator
          :return: None