pub const fn is_singleton(expr: &Expr) -> bool
Return true if the Expr is a singleton (None, True, False, or ...).
true
Expr
None
True
False
...