def _is_pinecone_v3() -> bool:
    """
    Check whether the pinecone client is >= 3.0.0.
    """
    pinecone = _import_pinecone()
    pinecone_client_version = pinecone.__version__

    return version.parse(pinecone_client_version) >= version.parse("3.0.0")

    Check whether the pinecone client is >= 3.0.0.
    
llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/utils.py