class TransactionScopedContextImpl implements Context {

    @Override
    /**
     * Determines if this context object is active.
     *
     * @return true if there is a current global transaction and its status is
     *              {@Link javax.transaction.Status.STATUS_ACTIVE}
     *         false otherwise
     */
    public boolean isActive() {
        try {
            if (getTransactionSynchronizationRegistry() != null) {
                return true;
            }
        } catch (ContextNotActiveException ignore) {
        }
        return false;
    }

    public  TransactionScopedContextImpl();

}