how to check if a class has already called the __init__ function of an inherited class python code example Example: python inherit parent class init SuperClass.__init__(self, variable)