Check if a specific object of a class with a specific property exists?