Check if instance exists