added func to check if cat from CSV item is valid category