Can Try() handle "Resource not found error"

Is there a way to handle the data query error using try() or can()

For example rg_storage1 doesnt exist it throws and error like

data “azurerm_resource_group” “storage_resource_group” {
name = “rg_storage1”

Error: Error: Resource Group “rg_storage1” was not found

on line 24, in data “azurerm_resource_group” “storage_resource_group”:
24: data “azurerm_resource_group” “storage_resource_group” {

Can we handle it like this
locals {

/* id = regex("^abc$",“abc”) */

storage_resource_group_exists = try(, “No RG found”)