code: protected Boolean _hasSideEffects(XBlockExpression expression, ISideEffectContext context) {
  		final List<XExpression> exprs = expression.getExpressions();
  		if (exprs != null && !exprs.isEmpty()) {
  			context.open();
  			for (final XExpression ex : exprs) {
  				if (hasSideEffects(ex, context)) {
  					return true;
  				}
  			}
  			context.close();
  		}
  		return false;
  	}
docs: Test if the given expression has side effects.
  
  @param expression the expression.
  @param context the list of context expressions.
  @return {@code true} if the expression has side effects.