has_component


Description:

public bool has_component (Component cpt)

Check if the exact Component cpt is a member of this category already.

Parameters:

this

An instance of Category.

cpt

The Component to look for.

Returns:

true if the component is present.