code: def __related_categories(self, category_id):
          
          related = []
          for cat in self.categories_tree:
              if category_id in self.categories_tree[cat]:
                  related.append(self.categories[cat])
          return related
docs: Get all related categories to a given one