def _Exists(self):
    if self.name is None and self.created:
      return True
    elif self.name is None:
      return False
    show_cmd = [AZURE_PATH,
                'vm',
                'disk',
                'show',
                '--json',
                self.name]
    stdout, _, _ = vm_util.IssueCommand(show_cmd, suppress_warning=True)
    try:
      json.loads(stdout)
    except ValueError:
      return False
    return True
Handles the iteration across files within a folder.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_disk.py/AzureDisk._Exists--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/FolderUploader.upload_files_in_folder