function addAllDataDependenciesIfNotExists(botDataDependencies) {
                            for (let l = 0; l < product.datasets.length; l++) {
                                let dataset = product.datasets[l]

                                // Explicit check is needed so we know if we have to save the plugin or not
                                if (UI.projects.visualScripting.utilities.nodeChildren.isMissingChildrenById(botDataDependencies, dataset, true) === true) {
                                    savePluginFile = true
                                    let dataDependency = UI.projects.visualScripting.nodeActionFunctions.uiObjectsFromNodes.addUIObject(botDataDependencies, 'Data Dependency')
                                    UI.projects.visualScripting.nodeActionFunctions.attachDetach.referenceAttachNode(dataDependency, dataset)
                                }
                            }
                        }
If Bot Data Dependency exists add Data Dependencies
Otherwise create the Bot Data Dependency and add Data Dependencies to newly created Bot Data