I take it this is a convention in statistics. The usual SymPy convention is that when an expression is interpreted as a boolean, it's as `Eq(expr, 0)`.