if (thisAction.getClass().getName().equals(actionName) && thisAction.getValue().equals(variantName)) return true;
if (thisAction.getClass().getName().equals(actionName) && variantName.equals(thisAction.getValue().getAction())) return true;
    private boolean alreadyActive(String actionName, String variantName, Collection activeActions) {        Iterator iter = activeActions.iterator();        while (iter.hasNext()) {            Action thisAction = (Action) iter.next();            if (thisAction.getClass().getName().equals(actionName) && thisAction.getValue().equals(variantName)) return true;        }        return false;    }