Using list comprehension (only if airports is a list of objects):
for airport in [a for a in airports if a.is_important]: