def METHOD_NAME(result):
    if isinstance(result, dict):
        return self.name in [name for (name, desc, n) in result.itervalues()]
    else:
        logger.warn("Strange result of occurence of group '%s': %s (dict expected)" % (self.name, repr(result)))
        return False