Add new method for telling if an entry is part of a category. (and test)