def METHOD_NAME(rng, dt):
    ok = True
    for sr in range(T.SRATE_16K, T.NUM_SRATE):
        attdet = AttackDetector(dt, sr)
        for nbytes in [ 61, 61-1, 75-1, 75, 80, 80+1, 100-1, 100, 150-1, 150 ]:
            f_att = lc3.attdet_run(dt, sr, nbytes,
                initial_state(), 2 * rng.random(T.NS[dt][sr]+6) - 1)
            ok = ok and f_att == attdet.is_enabled(nbytes)
    return ok