code: private Boolean getReplaceableValue(Expression expr) {
      return TranslationUtil.hasSideEffect(expr) ? null : getKnownValue(expr);
    }
docs: Returns TRUE or FALSE if expression is a boolean constant and has no side
  effects, else null (unknown statically).