def add_validator(self, validator):
if not isinstance(validator, AbstractValidator):<EOL><INDENT>err = '<STR_LIT>'.format(AbstractValidator)<EOL>raise InvalidValidator(err)<EOL><DEDENT>self.validators.append(validator)<EOL>return self<EOL>
Add validator to property

:param validator: object, extending from AbstractValidator
:return: None