if (assembly_id == null || assembly_id.equals("")) return false;  if (assembly_id.startsWith(REAL_CMT_TYPE) && assembly_id.indexOf("134589") != -1) { if (log.isInfoEnabled()) { log.info("isAsbUsed got base CMT asb to ask is used: " + assembly_id, new Throwable()); } return true; }
  public boolean isAssemblyUsed(String assembly_id) throws SQLException {    // See if anyone uses this assembly ID anywhere    substitutions.put(":assembly_id:", sqlQuote(assembly_id));    substitutions.put(":trial_id:", trialId);    Statement stmt = getStatement();    ResultSet rs = executeQuery(stmt, dbp.getQuery("checkUsedAssembly",						   substitutions));    // If not    if (!rs.next()) {       rs.close();      stmt.close();      return false;    }    rs.close();    stmt.close();    return true;  }