(function from pyomo.dae.set_utils)
pyomo.dae.set_utils
Function for determining whether a pyomo component is indexed by a set or group of sets.
comp – Some Pyomo component, possibly indexed
sets – Pyomo Sets to check indexing by
expand_all_set_operators – Whether or not to expand all set operators in the subsets method
A bool that is True if comp is directly indexed by every set in sets.