human
Here's a good function header given the following:
I wrote the below code

    @functools.wraps(f)
    def wrapper(context, backup_id, *args, **kwargs):
        if (not resource_exists(context, models.Backup, backup_id)):
            raise exception.BackupNotFound(backup_id=backup_id)
        return f(context, backup_id, *args, **kwargs)
    return wrapper

What's a good function header?
assistant
#Here's a good function header.

def require_backup_exists(f):