Is a sloth herbivorous?

Can you answer this question?