'Look through devices in the ring for the first handoff device that was
identified during job creation as available on this node.
:returns: a node entry from the ring'

def find_local_handoff_for_part(self, part):

    nodes = self.ring.get_part_nodes(part)
    more_nodes = self.ring.get_more_nodes(part)
    for node in itertools.chain(nodes, more_nodes):
        if (node['id'] in self._local_device_ids):
            return node
    return None
