'Find and return a :class:`CategoryDescription` by its `name`.
.. note:: Categories are identified by `name` attribute in contrast
with widgets which are identified by `qualified_name`.
Parameters
name : str
Category name'

def category(self, name):

    return self._categories_dict[name][0]
