I added a test. See https://github.com/sympy/sympy/pull/2723#discussion_r8652201, eventually we will eventually have to deprecate the use Python lambda when we will extend imageset to multivariate functions, or complex interval. But till that time I also think it will be nice to keep supporting lambda. And by the time we have those functionality hopefully we'll also have methods to sympify lambda to Lambda.