def _validate_collection_name(self, collection_name: str) -> bool:
        """
        Check if the collection name is valid for Couchbase.
        Collection names should not contain any characters other than letters, digits, underscores, percentage and hyphens.
        """
        # Only allow letters, digits, underscores, percentage and hyphens
        allowed_chars = set(string.ascii_letters + string.digits + "_-%")

        # Check if all characters in the string are in the set of allowed characters
        return all(char in allowed_chars for char in collection_name)

        Check if the collection name is valid for Couchbase.
        Collection names should not contain any characters other than letters, digits, underscores, percentage and hyphens.
        
llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/llama_index/storage/kvstore/couchbase/base.py