Gantt APIMethodsisTaskExistsOn this pageisTaskExists Description Checks whether the specified task exists isTaskExists: (id: string | number) => booleanParameters id - (required) string | number - the task id Returns task - (boolean) - true, if such a task exists. Otherwise, false Examplegantt.addTask({ id:10, text:"Task #5", start_date:"02-09-2023", duration:28}, "project_2");gantt.isTaskExists(10); // ->true