def METHOD_NAME(self, gen):
    if gen.ifs:
        ldFilter = ast.Lambda(
            ast.arguments([ast.Name(gen.target.id, ast.Param(),
                                    None, None)],
                          [], None, [], [], None, []),
            ast.BoolOp(ast.And(), gen.ifs)
            if len(gen.ifs) > 1 else gen.ifs[0])
        ifilterName = ast.Attribute(
            value=ast.Name(id='builtins',
                           ctx=ast.Load(),
                           annotation=None, type_comment=None),
            attr='filter', ctx=ast.Load())
        return ast.Call(ifilterName, [ldFilter, gen.iter], [])
    else:
        return gen.iter