if stripped != lowerValue:
    raise datastore_errors.BadValueError(prop._name)
return stripped


class Foo(ndb.Model):
    email = ndb.StringProperty(validator=stringValidator)
Foo(email='blas')
NDB Validator Prop Fields