def METHOD_NAME(nodes_to_kill_count):
    def check(network, args, *nargs, **kwargs):
        running_nodes_count = len(network.get_joined_nodes())
        would_leave_nodes_count = running_nodes_count - nodes_to_kill_count
        minimum_nodes_to_run_count = len(network.nodes) - network.get_f()
        LOG.info(
            f"{running_nodes_count}/{len(network.nodes)} nodes running, with f={network.get_f()}, trying to kill {nodes_to_kill_count}"
        )
        if would_leave_nodes_count < minimum_nodes_to_run_count:
            raise TestRequirementsNotMet(
                f"Cannot kill {nodes_to_kill_count} node(s) as the network would not be able to make progress"
                f" (would leave {would_leave_nodes_count} nodes but requires {minimum_nodes_to_run_count} nodes to make progress) "
            )
    return ensure_reqs(check)