code: def is_complete(self):
          
          return all(
              [node.route_allocation() is not None for node in list(self._nodes.values()) if node != self._problem.depot()]
          )
docs: Returns True if this is a complete solution, i.e, all nodes are allocated
          
          Returns
          -------
          bool
              True if all nodes are llocated.