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