'Returns True if the current user has permission to delete the page.'

def has_delete_permission(self, request, obj=None):

    if (not obj):
        return False
    return page_permissions.user_can_delete_page(request.user, page=obj)
