pyrobosim.utils.general.EntityMetadata.has_category

EntityMetadata.has_category(category)

Check whether a category name is in the metadata.

Parameters:

category (str) – Query category name.

Returns:

True if the category is in the metadata, else False.

Return type:

bool