def addAfterCommitHook(hook, args=(), kws=None):
    """Register a hook to call after a transaction commit
         attempt.

         The specified hook function will be called after the
         transaction commit succeeds or aborts. The first argument
         passed to the hook is a Boolean value, `True` if the commit
         succeeded, or `False` if the commit aborted.

         *args* and *kws* are interpreted as for `addBeforeCommitHook`
         (with the exception that there is always one positional
         argument, the commit status).

         As with `addBeforeCommitHook`, multiple hooks can be
         registered, savepoint creation doesn't call any hooks, and
         calling a hook consumes its registration.
         """
