Online Table: create only if it does not exist

lauraxyz
Contributor

i'm following this Doc to create online table using Databricks SDK. How can i set it to create ONLY when it doesn't exist, to avoid the failure of "table already exists" error? 

Or, is there another way to programatic way to check existence of an Online Table?