code: def destroy_by_name(name, driver):
  
      
  
      matches = [node for node in list_nodes(driver) if node.name == name]
      if len(matches) == 0:
          logger.warn('no node named %s' % name)
          return False
      else:
          return all([node.destroy() for node in matches])
docs: Destroy all nodes matching specified name