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