'True if the current user is the owner of the given history.'

def is_owner(self, history, user, current_history=None, **kwargs):

    if self.user_manager.is_anonymous(user):
        if (current_history and (history == current_history)):
            return True
        return False
    return super(HistoryManager, self).is_owner(history, user)
