return bean.getClass().getAnnotation(Wizard.class) != null;
return clazz.getAnnotation(Wizard.class) != null;
    protected boolean isWizard() {        ActionBean bean = getActionBean();        if (bean == null) {            try {                bean = StripesFilter.getConfiguration().getActionResolver().getActionBean(                        new ActionBeanContext(), this.actionWithoutContext);            }            catch (StripesServletException sse) {                log.error("Could not locate an ActionBean that was bound to the URL [",                          this.actionWithoutContext, "]. Without an ActionBean class Stripes ",                          "cannot determine whether the ActionBean is a wizard or not. ",                          "As a result wizard behaviour will be disabled.");                return false;            }        }        return bean.getClass().getAnnotation(Wizard.class) != null;    }