@staticmethod
def _singleton(it):
    """Test whether iterable contains one unique element.

        :param it: iterable

        :returns: bool, iterable contains one unique element
        """
    return len(set(it)) == 1
