(function from pyomo.core.expr.numvalue)
pyomo.core.expr.numvalue
A utility function that returns a boolean that indicates whether the object is a constant.