def level_is_between(level, min_level_value, max_level_value):
    level_value = get_level_value(level)
    if level_value is None:
        # unknown level value
        return False
    return level_value >= min_level_value and level_value <= max_level_value
Returns True if level is between the specified min or max, inclusive.
dataset/ETHPy150Open neovim/python-client/scripts/logging_statement_modifier.py/level_is_between