TimberModel.has_group

TimberModel.has_group(group_name)[source]

Check if a group with group_name exists in the model.

TODO: upstream this to compas_model

Parameters:
group_namestr

The name of the group to query.

Returns:
bool

True if the group exists in the model.