Added wrapper for doesObjectExist function