Use itertools.ifilter() for better readability

Use [`itertools.ifilter()`](http://docs.python.org/2/library/itertools.html#itertools.ifilter) method to generate predicated iterable.