Yes, as stated in various other questions, variables defined within the class body are attributes of the class, whereas those defined in a def __init__(self)
block are attributes of an instance of a class.
Difference between defining a member in init to defining it in the class body in Python?