(function from pyomo.core.expr.boolean_value)
pyomo.core.expr.boolean_value
A function that creates a BooleanConstant object that wraps Python Boolean values.
obj – The logical value that may be wrapped.
native_logical_types
Returns: A true or false BooleanConstant or the original object