code: def setupitems(self):
          
          query = {
              "path": {
                  "query": api.get_path(self.setup),
                  "depth": 1,
              },
          }
          items = api.search(query, "portal_catalog")
          # filter out items
          items = filter(lambda item: not item.exclude_from_nav, items)
  
          # sort by (translated) title
          def cmp_by_translated_title(brain1, brain2):
              title1 = t(api.get_title(brain1))
              title2 = t(api.get_title(brain2))
              return cmp(title1, title2)
  
          return sorted(items, cmp=cmp_by_translated_title)
docs: Lookup available setup items
  
          :returns: catalog brains