pylabrobot.resources.Deck.has_resource#

Deck.has_resource(name: str) bool#

Returns True if the deck has a resource with the given name.

Parameters:

name (str)

Return type:

bool