overloaded any() to accept custom matcher