code: protected Boolean hasSideEffects(XExpression expr, ISideEffectContext context) {
  		if (expr != null && !expr.eIsProxy()) {
  			return this.hasSideEffectsDispatcher.invoke(expr, context);
  		}
  		return false;
  	}
docs: Determine if the given expression has a side effect.
  
  @param expr the expression.
  @param context the context.
  @return {@code true} if the expression has a side effect.