# File lib/aws/resource_cache.rb, line 27 def cached?(key, attribute) attributes = @cache[key] and attributes.has_key?(attribute) end