added function: isVisible, used in the category table