Is a cobra hervibore?

A cobra is a carnivore.