concepts.dm.crow.crow_expression_utils.crow_is_simple_bool#
- crow_is_simple_bool(expr)[source]#
Check if the expression is a simple Boolean expression. That is, it is either a Boolean state variable, or the negation of a Boolean state variable.
- Parameters:
expr (Expression) – the expression to check.
- Returns:
True if the expression is a simple boolean expression, False otherwise.
- Return type: