code: function closeDescendants(concept) {
    concept.isOpen = false;
    concept.items.forEach(child => {
      if (child.items) {
        closeDescendants(child);
      }
    });
  }
docs: Traverses the concepts' descendants, setting isOpen = false as it goes.