Fetch a random weighted choice

def value(self):
        """
        Fetch a random weighted choice
        """
        choice = weighted_choice(self._responses)

        # If the choice is a tuple, join the elements into a single mapped string
        if isinstance(choice, tuple):
            return ''.join(map(str, choice)).strip()

        # Otherwise, return the choice itself as a string
        return str(choice)