def _cygcheck(args, cyg_arch='x86_64'):
    '''
    Run the cygcheck executable.
    '''
    cmd = ' '.join([
        os.sep.join(['c:', _get_cyg_dir(cyg_arch), 'bin', 'cygcheck']),
        '-c', args])

    ret = __salt__['cmd.run_all'](cmd)

    if ret['retcode'] == 0:
        return ret['stdout']
    else:
        return False
Run the cygcheck executable.