code: public boolean isTransitionApplied (Class<?> clazz, final String name)
          throws PersistenceException
      {
          final String cname = clazz.getName();
          return execute(new Operation<Boolean>() {
              public Boolean invoke (Connection conn, DatabaseLiaison liaison)
                  throws SQLException, PersistenceException
              {
                  PreparedStatement stmt = null;
                  try {
                      stmt = conn.prepareStatement(
                          " select " + liaison.columnSQL("NAME") +
                          "   from " + liaison.tableSQL("TRANSITIONS") +
                          "  where " + liaison.columnSQL("CLASS") + "=?" +
                          "    and " + liaison.columnSQL("NAME") + "=?");
                      stmt.setString(1, cname);
                      stmt.setString(2, name);
                      ResultSet rs = stmt.executeQuery();
                      if (rs.next()) {
                          return true;
                      }
  
                  } finally {
                      JDBCUtil.close(stmt);
                  }
                  return false;
              }
          });
      }
docs: Returns whether the specified name transition been applied.