def METHOD_NAME(cls, dmd, name):
    """Return global catalog by name."""
    catalog = getattr(
        dmd.Devices,
        "{}_{}Search".format(cls.zenpack_name.replace('.', '_'), name),
        None)
    if catalog:
        return catalog
    else:
        return cls.create_global_catalog(dmd, name)