def METHOD_NAME(otherid_expr):
    ignore_match = (
        sa.select()
        .select_from(t.ignoreuser)
        .where(t.ignoreuser.c.userid == sa.bindparam('userid'))
        .where(t.ignoreuser.c.otherid == otherid_expr)
    )
    return ~ignore_match.exists()