added isVisible method to Categor