def METHOD_NAME(target_disk, with_target_disk=True):
    """
    Check domblklist for the guest.
    :params target_disk: the disk we want to check
    :params with_target_disk: check if the disk is in domblklist
    """
    domblklist_result = virsh.domblklist(vm_name, debug=True).stdout_text.strip()
    if with_target_disk:
        if target_disk not in domblklist_result:
            test.fail("Can't get expected disk %s in guest." % target_disk)
    else:
        if target_disk in domblklist_result:
            test.fail("The target disk %s can't be detached in guest." % target_disk)