wrap callback of _.any in a IIFE in _.contains