'Synchronous Commit operation.
Returns:
True if the transaction was successfully committed.  False if
the backend reported a concurrent transaction error.'

def commit(self):

    rpc = self._create_rpc(service_name=self._api_version)
    rpc = self.async_commit(rpc)
    if (rpc is None):
        return True
    return rpc.get_result()
