basic dictionary comprehension
apply filter on dictionary comprehension