I’m sure that’s what you want, but we never know :
class bolt():
def __init__(self):
self.thing = False
def tester(self):
self.thing = True
class classtwo():
def __init__(self):
self.my_bolt = bolt()
self.my_bolt.tester()
if self.my_bolt.thing:
print("True")
elif not bolt.thing:
print("False")
classtwo()
solved python switching boolean between classes