code: def _validate_sample(
      self,
      sample: Dict[str, Any],
      expected_column_names: List[str],
      expected_column_types: List[Type[Union[float, int, str]]],
  ) -> None:
      self.assertSetEqual(
          set(sample.keys()), set(expected_column_names)
      )
      ordered_vals = [
          sample[column_name] for column_name in expected_column_names
      ]
      for val, expected_type in zip(
          ordered_vals, expected_column_types
      ):
          self.assertTrue(isinstance(val, expected_type))
  
imports: import contextlib
  import csv
  import os
  import random
  import tempfile
  import unittest
  from typing import Any, Callable, Dict, Generator, Iterable, List, Type, Union
  from torchrec.datasets.movielens import movielens_20m, movielens_25m
label_desc: Use image node_id 5 for calling the MovieLensTest obj's underlying member method code with example usage: obj._validate_sample(sample, expected_column_names, expected_column_types) without return types