def is_tensor_field(field: str,
                    tensor_fields: List[str]
                    ) -> bool:
    """Determine whether a field is a tensor field or not for add_documents calls."""
    if not tensor_fields:
        return False
    else:
        return field in tensor_fields
Determine whether a field is a tensor field or not for add_documents calls.
src/marqo/tensor_search/utils.py