def is_only_one_true(iterable=None):
    """
        Check if there is only one True value within an iterable.

        This function returns True if only one element in the
        iterable is true, otherwise it returns False.

        NOTE: This works partially because of how Python handles
        iterators. The first any() call stops iterating once it
        finds a True value. However, the iterator is not reset.
        Therefore when the next any() call is made, it starts from
        after that first True value.

        Parameters
        ----------
        iterable : iterable
            Some iterable object in Python. Most common
            example of this is a list
    
        Returns
        -------
        result  : bool
            A boolean value that represents if only one True value is in the iterable.
    """

    if iterable:    
        i = iter(iterable)
        return any(i) and not any(i)
    else:
        return False