code: def is_service_selected(self, service):
          
          service_uid = api.get_uid(service)
          for arnum in range(self.ar_count):
              analyses = self.fieldvalues.get("Analyses-{}".format(arnum))
              if not analyses:
                  continue
              service_uids = map(self.get_service_uid_from, analyses)
              if service_uid in service_uids:
                  return True
          return False
docs: Checks if the given service is selected by one of the ARs.
          This is used to make the whole line visible or not.