# File lib/aws/sns/subscription.rb, line 74 def exists? collection = if topic TopicSubscriptionCollection.new(topic, :config => config) else SubscriptionCollection.new(:config => config) end collection.include?(self) end