CmdID

CmdID / az / az cosmosdb / az cosmosdb database

az cosmosdb database exists

Returns a boolean indicating whether the database exists Azure CLI reference

Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.