public boolean columnsExist(String tableName, String... columns) throws SQLException {
		if (isConnected()) {
			String[] tcols = getColumnNames(tableName);
			// for each column checking, scan if that column name exists
			for (String c : columns) {
				boolean exists = false;
				for(String tc : tcols) {
					if((tc == null && c == null) || (tc != null && c != null && tc.equalsIgnoreCase(c))) {
						exists = true;
						break;
					}
				}
				if (!exists) {
					return false;
				}
			}
			return true;
		}
		return false;
	}