code: def value_validate(self, value):
          
          if not isinstance(value, six.string_types):
              raise tldap.exceptions.ValidationError("should be a string")
docs: Validates value and throws ValidationError. Subclasses should override
          this to provide validation logic.