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