Test if the objectID exists