original_docstring: 
          check if a collection exist in a given database
          :param db: the instance of the database to consider
          :param collection_name: the name of the collection to check
          :return: true if the collection exists inside the given db, false otherwise
          
docstring: check if a collection exist in a given database
docstring_tokens: check if a collection exist in a given database
code: def has_collection(self, db: Database, collection_name: str) -> bool:
          """
          check if a collection exist in a given database
          :param db: the instance of the database to consider
          :param collection_name: the name of the collection to check
          :return: true if the collection exists inside the given db, false otherwise
          """
          return db.has_collection(collection_name)
code_tokens: def has_collection ( self , db : Database , collection_name : str ) -> bool : return db . has_collection ( collection_name )
short_docstring: check if a collection exist in a given database
short_docstring_tokens: check if a collection exist in a given database
comment: """
          check if a collection exist in a given database
          :param db: the instance of the database to consider
          :param collection_name: the name of the collection to check
          :return: true if the collection exists inside the given db, false otherwise
          """