private String liveness(){
  boolean isClosed=false;
  try {
    if (isClosed()) {
      isClosed=true;
    }
  }
 catch (  SQLException s) {
    isClosed=true;
  }
  if (isClosed) {
    return "CLOSED";
  }
  return "OPEN";
}

private String liveness ( ) { boolean isClosed = false ; try { if ( isClosed ( ) ) { isClosed = true ; } } catch ( SQLException s ) { isClosed = true ; } if ( isClosed ) { return "CLOSED" ; } return "OPEN" ; }
provides a string representation of whether this connection is closed or not
