private void removeExcludedNodesFromScenes(@NonNull List<ProvisionedMeshNode> nodes, @NonNull List<Scene> scenes) {
        ListIterator<Integer> addresses;
        Integer address;
        for (Scene scene : scenes) {
            addresses = scene.getAddresses().listIterator();
            while (addresses.hasNext()) {
                address = addresses.next();
                if (!isNodeAddressExistsInScene(nodes, address)) {
                    addresses.remove();
                }
            }
        }
    }
Removes excluded node from a scene addresses.

@param nodes  List of nodes in the network.
@param scenes List of scenes in the network.
mesh/src/main/java/no/nordicsemi/android/mesh/ImportExportUtils.java