public boolean isProcedureInDatabase(String procedure_id) {
		boolean procedureInDatabase = true;
		String query = "SELECT COUNT(procedure_id) FROM procedure WHERE procedure_id='"+procedure_id+"';";
		try {
			Statement stmt = con.createStatement();
			ResultSet rs = stmt.executeQuery(query);
			rs.next();
			if (rs.getInt("count") != 0) {
				procedureInDatabase = true;
			} else {
				procedureInDatabase = false;
			}
		} catch (SQLException e) {
			logger.warn("Invalid query: "+ query, e);
			e.printStackTrace();
		}
		return procedureInDatabase;
	}