code: def check_password(self, raw_password):
          
          def setter(raw_password):
              self.set_password(raw_password)
              self.save(update_fields=[self.PASSWORD_FIELD])
          return check_password(raw_password, getattr(self, self.PASSWORD_FIELD), setter)
docs: Returns a boolean of whether the raw_password was correct. Handles
          hashing formats behind the scenes.