/**
  * Returns true if the given action could be loaded with widget_load.
  * Wizards do not support that. They want to be displayed without menus.
  */
 protected function isWidgetAction($actionInstance)
 {
     $module = $actionInstance->getModuleName();
     $action = $actionInstance->getActionName();
     $doc = afConfigUtils::getOptionalDoc($module, $action);
     if (!$doc) {
         return false;
     }
     $view = afDomAccess::wrap($doc, 'view', new afVarScope($actionInstance->getVarHolder()->getAll()));
     return $view->get('@type') !== 'wizard';
 }