has

ParameterGroup.has(label: str)bool[source]

Checks if a parameter with the given label is in the group or in a subgroup.

Parameters

label – The label of the parameter.