a = True
obj = {some object}
while a and obj:
doSomething()
certain if statements:
^ some of these will turn a False or obj to None
^a = True で obj が存在する間、これは実行され続けますか?
両方が同時に false の場合 - False と None -> True に評価されるため、実行を継続するか、while ループを終了します。