code: def list_color_tag(self, pkg):
          
          name = GetFromInstalled(pkg).name()
          find = name + self.meta.sp
          if pkg.endswith(".txz") or pkg.endswith(".tgz"):
              find = pkg[:-4]
          if find_package(find, self.meta.pkg_path):
              pkg = "{0}{1}{2}".format(self.meta.color["GREEN"], pkg,
                                       self.meta.color["ENDC"])
          return pkg
docs: Tag with color installed packages