docs: protected void generateGuardEvaluators(String container, PyAppendable it, IExtraLanguageGeneratorContext context) {
  		final Map<String, Map<String, List<Pair<XExpression, String>>>> allGuardEvaluators = context.getMapData(EVENT_GUARDS_MEMENTO);
  		final Map<String, List<Pair<XExpression, String>>> guardEvaluators = allGuardEvaluators.get(container);
  		if (guardEvaluators == null) {
  			return;
  		}
  		boolean first = true;
  		for (final Entry<String, List<Pair<XExpression, String>>> entry : guardEvaluators.entrySet()) {
  			if (first) {
  				first = false;
  			} else {
  				it.newLine();
  			}
  			it.append("def __guard_"); //$NON-NLS-1$
  			it.append(entry.getKey().replaceAll("[^a-zA-Z0-9_]+", "_")); //$NON-NLS-1$ //$NON-NLS-2$
  			it.append("__(self, occurrence):"); //$NON-NLS-1$
  			it.increaseIndentation().newLine();
  			it.append("it = occurrence").newLine(); //$NON-NLS-1$
  			final String eventHandleName = it.declareUniqueNameVariable(new Object(), "__event_handles"); //$NON-NLS-1$
  			it.append(eventHandleName).append(" = list"); //$NON-NLS-1$
  			for (final Pair<XExpression, String> guardDesc : entry.getValue()) {
  				it.newLine();
  				if (guardDesc.getKey() == null) {
  					it.append(eventHandleName).append(".add(").append(guardDesc.getValue()).append(")"); //$NON-NLS-1$ //$NON-NLS-2$
  				} else {
  					it.append("if "); //$NON-NLS-1$
  					generate(guardDesc.getKey(), null, it, context);
  					it.append(":").increaseIndentation().newLine(); //$NON-NLS-1$
  					it.append(eventHandleName).append(".add(").append(guardDesc.getValue()).append(")"); //$NON-NLS-1$ //$NON-NLS-2$
  					it.decreaseIndentation();
  				}
  			}
  			it.newLine().append("return ").append(eventHandleName); //$NON-NLS-1$
  			it.decreaseIndentation().newLine();
  		}
  	}