dot-vValidCats function

Are the category values of a vector valid?