def level_matches(self, level, consumer_level):
        if isinstance(level, slice):
            start, stop = level.start, level.stop
            if start is not None and start > consumer_level:
                return False
            if stop is not None and stop <= consumer_level:
                return False
            return True
        else:
            return level >= consumer_level

    #@classmethod
Add a set of definitions from a dictionary, where the keys are
dataset/ETHPy150Open femmerling/backyard/virtualenv.py/Logger.level_matches--crossover with--dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/XHTML.py/DefinitionListMixin.add_definitions