is_text function

Check if a vector is text-based (character or factor)