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