pub fn is_boolean_expr(expr: &Expr) -> bool
式が bool として扱える形式かどうかを判定
キャスト (expr as bool) を含む場合も true を返す
(expr as bool)