Let is_sequence_of_literals support nested.