pylabrobot.resources.ResourceStack.has_resource#

ResourceStack.has_resource(name: str) bool#

Whether anything at or beneath this resource carries the given name.

Parameters:

name (str) – The name to look for.

Returns:

True when a resource with that name is in this subtree.

Return type:

bool