Check if the category is already set