'Determines whether the VM is booting from volume
Determines whether the block device info indicates that the VM
is booting from a volume.'

@staticmethod
def _is_booted_from_volume(block_device_info):

    block_device_mapping = driver.block_device_info_get_mapping(block_device_info)
    return bool(block_device.get_root_bdm(block_device_mapping))
