class_docstr: `SBU Captioned Photo <http://www.cs.virginia.edu/~vicente/sbucaptions/>`_ Dataset.
  
  Args:
      root (string): Root directory of dataset where tarball
          ``SBUCaptionedPhotoDataset.tar.gz`` exists.
      transform (callable, optional): A function/transform that takes in a PIL image
          and returns a transformed version. E.g, ``transforms.RandomCrop``
      target_transform (callable, optional): A function/transform that takes in the
          target and transforms it.
      download (bool, optional): If True, downloads the dataset from the internet and
          puts it in root directory. If dataset is already downloaded, it is not
          downloaded again.
docstr: Check the md5 checksum of the downloaded tarball.
code: def _check_integrity(self) -> bool:
      """Check the md5 checksum of the downloaded tarball."""
      root = self.root
      fpath = os.path.join(root, self.filename)
      if not check_integrity(fpath, self.md5_checksum):
          return False
      return True
  
file_path: vision/torchvision/datasets/sbu.py
imports: import os
  from typing import Any, Callable, Optional, Tuple
  from PIL import Image
  from .utils import check_integrity, download_and_extract_archive, download_url
  from .vision import VisionDataset
label_desc: Use image node_id 4 for calling the SBU obj's underlying member method code with example usage: obj._check_integrity() and returns: True, False