code: def list_of_installed(self, repo, name):
          
          all_installed_names = []
          all_installed_packages = find_package("", self.meta.pkg_path)
          for inst in all_installed_packages:
              if repo == "sbo" and inst.endswith("_SBo"):
                  name = split_package(inst)[0]
                  all_installed_names.append(name)
              else:
                  if name:
                      all_installed_names.append(split_package(inst)[0])
                  else:
                      all_installed_names.append(inst)
          return all_installed_names
docs: Return installed packages