def get_length(self):
        if self.is_variant() and not self.active_dimensions:
            return self.parent.length
        else:
            return self.length
Used by AJAX requests to check the OneTouch verification status of a user
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_length--crossover with--dataset/ETHPy150Open TwilioDevEd/authy2fa-flask/twofa/auth/views.py/login_status