Best practices for Golang Pubsub creating a topic that may exist

Hey all. I have a distributed system where multiple Golang clients might try creating the same topic in Pubsub. Is there an accepted best practice for handling err return from TopicAdminClient.CreateTopic when it already exists?

I can’t figure out how to programmatically query an error code in the Golang Pubsub Library.
if errors.Is(err, codes.AlreadyExists) does not work. What I’d like to do is just continue if this is an AlreadyExists error and set up a subscription. An atomic GetOrCreate or an implicit publishAndCreateIfNotExists would be fine too.

Thanks in advance!
Rich