CommoditySingleSourceSink.node_in_comm

CommoditySingleSourceSink.node_in_comm(node, is_label: bool = True) bool[source]

Check whether commodity is made up by node in node.

Parameters
nodeint, str or array_like

Nodes to check for.

is_labelbool, default=True

Whether nodes in node are labels.

Returns
bool

Whether commodity is made up with node.