lib/list_redux: inline list_has() (for speed)