class ChefCLI::Policyfile::Uploader
def compat_mode_cookbook_exists_on_remote?(cookbook)
def compat_mode_cookbook_exists_on_remote?(cookbook) existing_cookbook_on_remote[cookbook.name.to_s]["versions"].any? do |cookbook_info| cookbook_info["version"] == cookbook.version end end