What is the performance cost for a line like this, where we use listCollections and a filter to get if a collection already exists in a database?
There is a chance there may be a lot of collections in our database. Would a line like this be costly?
col_list = db.list_collection_names(filter={"name": name})