>>> from capicua import es_cap_i_cua >>> es_cap_i_cua([1, 2, 3, 4, 5, 4, 3, 2, 1]) True >>> es_cap_i_cua([1, 2, 3, 3, 2, 1]) True >>> es_cap_i_cua([1, 2, 3, 4, 3, 2]) False >>> es_cap_i_cua([3, 'hola', 6, 7, 6, 'hola', 3]) True >>> es_cap_i_cua([4, 5, 6, 7, 'set', 6, 5, 4]) False