def test_none_sample(sample: Any) -> list:
            """
            Check for None values in the sample. If there are None values, return an empty list.
            """

            if sample is None:
                return []
            if isinstance(sample, (list, typing.Generator)):
                values = [test_none_sample(entry) for entry in sample]
                values = [value for value in values if value]
                values = [value[0] for value in values]
                return values
            else:
                return [sample]

            Check for None values in the sample. If there are None values, return an empty list.
            
argilla-v1/src/argilla_v1/client/feedback/training/schemas/base.py