code: def remove_project(self, node):
          
  
          if node.family == "Project":
              self.__script_editor.remove_project(node.path)
              return True
  
          for node in foundations.walkers.nodes_walker(node, ascendants=True):
              if node.family == "Project" and not node is self.__script_editor.model.default_project_node:
                  self.__script_editor.remove_project(node.path)
                  return True
docs: Removes the project associated with given node.
  
          :param node: Node.
          :type node: ProjectNode or DirectoryNode or FileNode
          :return: Method success.
          :rtype: bool