(function from pyomo.dae.set_utils)
pyomo.dae.set_utils
Function for determining whether a component is contained in a block that is indexed by a particular set.
comp – Component whose parent blocks are checked
s – Set for which indices are checked
stop_at – Block at which to stop searching if reached, regardless of whether or not it is indexed by s
Bool that is true if comp is contained in a block indexed by s