code: def clean_password(self):
          
          value = self.cleaned_data.get('password')
          if value not in self.valid_passwords:
              raise forms.ValidationError('Incorrect password.')
          return value
docs: Check that the password is valid.