https://mysteryweevil.medium.com/understanding-pythons-short-circuit-evaluation-simplifying-conditional-logic-db709d83703c