def METHOD_NAME(self, *args, **kwargs):
    """
    On creation, stores the hashed membership of the related ballot. This
    allows us to detect out of date lock suggestions based on the hash.
    """
    if not self.pk:
        self.ballot_hash = self.ballot.hashed_memberships
    return super().METHOD_NAME(*args, **kwargs)