'List catalog names.
Parameters
pattern : str or `None`
If given string is anywhere in a catalog name, it is
considered a matching catalog. It accepts patterns as
in :py:mod:`fnmatch` and is case-insensitive.
By default, all catalogs are returned.
sort : bool
Sort output in alphabetical order. If not sorted, the
order depends on dictionary hashing. Default is `True`.
Returns
out_arr : list of str
List of catalog names.'

def list_catalogs(self, pattern=None, sort=True):

    return self._match_pattern(list(self._catalogs), pattern, sort)
