boolean (final PopupFactoryImpl.ActionItem selectedValue) { return selectedValue != null && selectedValue.isEnabled() && selectedValue.getAction() instanceof ActionGroup && !selectedValue.isSubstepSuppressed(); }