# File lib/chef/cookbook_loader.rb, line 99 def has_key?(cookbook_name) @cookbooks_by_name.has_key?(cookbook_name) end