def _get_normalized_vm_disk_encryption_status(vm, vm_iv):
    """Iterate over a list of virtual machine disks normalize them.

    Arguments:
        vm (VirtualMachine): Virtual Machine
        vm_iv (VirtualMachineInstanceView): Virtual Machine Instance View

    Returns:
        dict: Normalized virtual machine disk encryption statuses

    """
    os_disk_name = vm.storage_profile.os_disk.name
    disk_enc_statuses = {}
    for disk in vm_iv.disks:
        if disk.name == os_disk_name:
            if disk.encryption_settings is None:
                disk_enc_statuses['os_disk_encrypted'] = False
            else:
                disk_enc_statuses['os_disk_encrypted'
                    ] = disk.encryption_settings[0].enabled
        elif disk_enc_statuses.get('all_data_disks_encrypted', True):
            if disk.encryption_settings is None:
                disk_enc_statuses['all_data_disks_encrypted'] = False
            else:
                disk_enc_statuses['all_data_disks_encrypted'
                    ] = disk.encryption_settings[0].enabled
    return disk_enc_statuses
