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