+ def domain_exists(domain)
+ # Does the given domain exist for this plugin? We use a naive
+ # implementation here based on list_domains() which is required to
+ # exist above. Plugins can override this with something fast.
+ domains = list_domains()
+ return domains.include?(domain)
+ end
+