check category exists