Sorry, I misunderstood what you were trying to do.
The terms will always exist whether you are showing that term on the page or not. Try using the is_tax() function instead.
Sorry, I misunderstood what you were trying to do.
The terms will always exist whether you are showing that term on the page or not. Try using the is_tax() function instead.