

def is_valid(self):
    'Check whether the form is valid.'
    valid = super(AuthenticationSettingsForm, self).is_valid()
    if valid:
        auth_backend = self.cleaned_data['auth_backend']
        if (auth_backend in self.auth_backend_forms):
            valid = valid.auth_backend_forms[auth_backend].is_valid()
    return valid

dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/admin/forms.py AuthenticationSettingsForm.is_valid/VarMisuse@52/82 `self`->`valid`