code: def handle_Sample(self, instance):
          
          ars = instance.getAnalysisRequests()
          if len(ars) == 1:
              return self.handle_AnalysisRequest(ars[0])
          else:
              return instance.absolute_url()
docs: If this sample has a single AR, go there.
          If the sample has 0 or >1 ARs, go to the sample's view URL.