from typing import List


def remove_existing_nodes_from_new_node_list(new_nodes, current_nodes) -> List[str]:
  """Return a list of nodes minus the nodes (and masters) already in the inventory (groups 'nodes' and 'masters')."""
  return [node for node in new_nodes if node not in current_nodes]