def test_is_in():
    ys = [2, 4, 12, 17]
    ye = [2, 8, 15, 18]

    x = [-1, 2, 2, 3, 4, 8, 15, 16]
    expect = [False, True, True, False, True, True, True, False]
    result = annos.is_in(x, ys, ye)
    npt.assert_array_equal(result, expect)