private boolean isProvisionerExistsInNodes(@NonNull final Provisioner provisioner, @NonNull final List<ProvisionedMeshNode> nodes) {
        if (provisioner.getProvisionerAddress() != null) {
            for (ProvisionedMeshNode node : nodes) {
                if (node.getUuid().equalsIgnoreCase(provisioner.getProvisionerUuid()))
                    return true;
            }
        }
        return false;
    }
Check if the provisioner exists in the nodes list

@param provisioner Provisioner
@param nodes       List of nodes
@return returns true if the provisioner exists in the selected list of nodes or false otherwise.
mesh/src/main/java/no/nordicsemi/android/mesh/ImportExportUtils.java