google.appengine.datastore.datastore_stub_util.CheckEntity

Check if this entity can be stored.

request_trusted If the request is trusted.
request_app_id The application ID of the app making the request.
entity entity_pb2.EntityProto

apiproxy_errors.ApplicationError if the entity is invalid