def METHOD_NAME(self, num_obj, expected_cached):
    """
    List all objects with this test prefix and validate the cache status
    Args:
        num_obj: Number of objects we expect to find
        expected_cached: Whether we expect them to be cached
    """
    objects = self.bucket.list_objects(
        props="name,cached", prefix=self.obj_prefix
    ).entries
    self.assertEqual(num_obj, len(objects))
    self._validate_objects_cached(objects, expected_cached)