def check_opt(opt, loop, ht, htarg, verb):
    r
    use_ne_eval = False
    if opt == 'parallel':
        if numexpr:
            use_ne_eval = numexpr.evaluate
        elif verb > 0:
            print(numexpr_msg)
    lagged_splined_fht = False
    if ht == 'fht':
        if htarg[1] != 0:
            lagged_splined_fht = True
    if ht in ['hqwe', 'hquad'] or lagged_splined_fht:
        loop_freq = True
        loop_off = False
    else:
        loop_off = loop == 'off'
        loop_freq = loop == 'freq'
    if verb > 2:
        if use_ne_eval:
            print("   Kernel Opt.     :  Use parallel")
        else:
            print("   Kernel Opt.     :  None")
        if loop_off:
            print("   Loop over       :  Offsets")
        elif loop_freq:
            print("   Loop over       :  Frequencies")
        else:
            print("   Loop over       :  None (all vectorized)")
    return use_ne_eval, loop_freq, loop_off