def pointers_and_documents_overlap(pointed_documents, documents_to_avoid):
    """
    Checks if any of the documents pointed is part of the documents to avoid.
    Returns True if there is an overlap, False otherwise.
    Args:
        pointed_documents(set(str)): The list of documents pointed to
        documents(set(str)): The list of documents to avoid
    Returns:
        bool: Whether the document can be inserted or not
    """
    return len(pointed_documents.intersection(documents_to_avoid)) != 0