code: @Override
    public boolean isClosed() throws CpoException {
      JdbcCpoAdapter currentResource = getCurrentResource();
      if (currentResource != getLocalResource())
        return ((JdbcCpoTrxAdapter)currentResource).isClosed();
      else
        return true;
    }
docs: Returns true if the TrxAdapter has been closed, false if it is still active