original_docstring: Check that this transaction is valid.
  
    Args:
      request_trusted: If the request is trusted.
      request_app_id: The application ID of the app making the request.
      transaction: datastore_pb.Transaction
  
    Raises:
      apiproxy_errors.ApplicationError: if the transaction is not valid.
    
docstring: Check that this transaction is valid.
docstring_tokens: Check that this transaction is valid .
code: def CheckTransaction(request_trusted, request_app_id, transaction):
    """Check that this transaction is valid.
  
    Args:
      request_trusted: If the request is trusted.
      request_app_id: The application ID of the app making the request.
      transaction: datastore_pb.Transaction
  
    Raises:
      apiproxy_errors.ApplicationError: if the transaction is not valid.
    """
    assert isinstance(transaction, datastore_pb.Transaction)
    CheckAppId(request_trusted, request_app_id, transaction.app())
code_tokens: def CheckTransaction ( request_trusted , request_app_id , transaction ) : assert isinstance ( transaction , datastore_pb . Transaction ) CheckAppId ( request_trusted , request_app_id , transaction . app ( ) )
short_docstring: Check that this transaction is valid.
short_docstring_tokens: Check that this transaction is valid .
comment: """Check that this transaction is valid.
  
    Args:
      request_trusted: If the request is trusted.
      request_app_id: The application ID of the app making the request.
      transaction: datastore_pb.Transaction
  
    Raises:
      apiproxy_errors.ApplicationError: if the transaction is not valid.
    """