has_category


Description:

public bool has_category (string category)

Check if component is in the specified category.

Parameters:

this

an Component object

category

the specified category to check

Returns:

true if the component is in the specified category.