def slow_index(seq, k):
        for i, item in enumerate(seq):
            if item == k:
                return i
        return -1
Call the `prepare_image` method on the node.
dataset/ETHPy150Open tabatkins/bikeshed/bikeshed/SortedList.py/slow_index--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/agent_client.py/AgentClient.prepare_image