def reboot(session):
    """
    Reboot windows machine

    :param session: instance of Windows, which hold session to win machine
    :type session: winremote.Windows
    :returns: True if cmd successfully ran, False otherwise
    :rtype: bool
    """
    return session.run_cmd('shutdown /r /t 1')[0]
