def METHOD_NAME():
    second_boot_time = boot_time()
    is_rebooted = second_boot_time > first_boot_time
    global cmdoutput
    cmdoutput = virsh.domstate(vm_ref, '--reason',
                               ignore_status=True, debug=True)
    domstate_status = cmdoutput.exit_status
    output = "running" in cmdoutput.stdout
    return not domstate_status and output and is_rebooted