def test_is_unresolved_top_level_field(self):
        """
        Test if TensorField.is_unresolved_top_level_field returns the expected result
        """
        test_cases = [
            # is_top_level_field, embeddings, expected_result
            (True, None, True),  # embedding is None
            (True, [], True),    # embedding is empty list
            (True, [[1.0, 2.0]], False),  # embedding is present

            # if not top level tensor field, should always return false
            (False, None, False),
            (False, [], False),
            (False, [[1.0, 2.0]], False),
        ]

        for is_top_level_field, embeddings, expected_result in test_cases:
            with self.subTest(f'top_level: {is_top_level_field}, embeddings: {embeddings}'):
                field = TensorField(
                    doc_id='id', field_name='field', field_content='content', modality=Modality.TEXT,
                    is_top_level_tensor_field=is_top_level_field, is_multimodal_subfield=True,
                    embeddings=embeddings
                )

                self.assertEqual(expected_result, field.is_unresolved_top_level_field())

        Test if TensorField.is_unresolved_top_level_field returns the expected result
        
tests/unit_tests/marqo/core/inference/test_tensor_field.py