def CheckTransaction(request_trusted, request_app_id, transaction):
 assert isinstance(transaction, datastore_pb.Transaction)
 CheckAppId(request_trusted, request_app_id, transaction.app())

def CheckTransaction ( request_trusted , request_app_id , transaction ) : assert isinstance ( transaction , datastore_pb . Transaction ) CheckAppId ( request_trusted , request_app_id , transaction . app ( ) )
check that this transaction is valid .