test if object exist