Python 3.9 is now generally available.

google.appengine.datastore.datastore_stub_util.CheckProperty

Check if this property can be stored.

request_trusted If the request is trusted.
request_app_id The application ID of the app making the request.
prop entity_pb2.Property
indexed Whether the property is indexed.

apiproxy_errors.ApplicationError if the property is invalid