add a method to check for the presence of an object in a category
renamed object_exists
rename is_in_cat to containsObject
Merge pull request #1377 from csalvador/containsObject

add a method to check for the presence of an object in a category