Report question

Question: How to set and check a boolean flag in python