code: def validate_documents(documents) -> bool:
      """Validate document list format."""
  
      if not isinstance(documents, list):
          return False
  
      if not documents:
          return False
  
      # Check fields/format of a document
      return all([validate_document(doc) for doc in documents])
  
file_path: mindsdb/mindsdb/integrations/handlers/rag_handler/ingest.py
imports: import time
  from typing import List
  import pandas
  from langchain.schema import Document
  from langchain.text_splitter import RecursiveCharacterTextSplitter
  from langchain.vectorstores import VectorStore
  from mindsdb.integrations.handlers.rag_handler.settings import PersistedVectorStoreSaver, PersistedVectorStoreSaverConfig, RAGBaseParameters, VectorStoreFactory, df_to_documents, get_chroma_client, load_embeddings_model, url_to_documents
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling a global function with example usage: validate_documents(documents) and returns: all, False, False