def METHOD_NAME(context: Context, data_dict: DataDict) -> AuthResult:
    model = context['model']
    resource_view = model.ResourceView.get(data_dict['id'])
    if not resource_view:
        raise logic.NotFound(_('Resource view not found, cannot check auth.'))
    resource_id = resource_view.resource_id
    return authz.is_authorized('resource_delete', context, {'id': resource_id})