code: private void checkDriverSupport(final Connection connection) throws SQLException
     {
        if (!isValidChecked) {
           checkValidationSupport(connection);
           checkDefaultIsolation(connection);
  
           isValidChecked = true;
        }
     }
docs: Execute isValid() or connection test query.
  
  @param connection a Connection to check