def METHOD_NAME(request, item_id):
    """
    Delete a LostItem.
    Args:
        item_id: LostItem id
    """
    lostitem = get_object_or_404(LostItem, id=item_id)
    if lostitem.user != request.user and not request.user.has_admin_permission("all"):
        raise http.Http404
    if request.method == "POST":
        if request.POST.get("full_delete", False):
            lostitem.delete()
            messages.success(request, "Successfully deleted lost item.")
        else:
            lostitem.found = True
            lostitem.save()
            messages.success(request, "Successfully marked lost item as found!")
        return redirect("lostfound")
    else:
        return render(request, "lostfound/lostitem_delete.html", {"lostitem": lostitem})