def is_repeated_sequence(sequence):
    """Test whether a sequence consists of one repeated element."""
    for i in range(1, len(sequence)):
        if not len(sequence) % i and sequence == sequence[:i] * (len(
            sequence) / i):
            return True
    return False
