is_boolean_expression function

(Shortest import: from brian2.parsing.expressions import is_boolean_expression)

brian2.parsing.expressions.is_boolean_expression(expr, variables)[source]

Determines if an expression is of boolean type or not