public bool AddNotebook(string notebook_name) { if (NotebookManager.GetNotebook(notebook_name) != null) { return(false); } Notebook notebook = NotebookManager.GetOrCreateNotebook(notebook_name); if (notebook == null) { return(false); } return(true); }