# File lib/active_record/base.rb, line 1064
        def scoped?(method, key = nil)
          scoped_methods and scoped_methods.has_key?(method) and (key.nil? or scope(method).has_key?(key))
        end