monkey/monkey/infection_monkey/utils/propagation.py

3 lines
101 B
Python

def should_propagate(config: dict, depth: int) -> bool:
return config["config"]["depth"] < depth