simple bool typed lambda expression