Checks to see if the specified category is hidden from the supplied Class, avoids recalculation of ClassHideCategories. Useful when checking the same class over and over again with different categories.