This method of the ObjectBag Class determines whether the specified category and class are supported by the ObjectBag.
public boolean hasObject(Category category, Class cls);
Returns true if the ObjectBag supports the specified category and class; otherwise, returns false.
category | The Category object that represents the category being queried for. |
cls | The Class object that represents the class being queried for. |