define _.contains for array-likes in terms of _.indexOf