class_docstr: Extract image feature using pretrained CNN network.
class_docstr_tok: ["Extract","image","feature","using","pretrained","CNN","network","."]
docstr: Return if image mode has spatial dimensionality.
docstr_tok: ["Return","if","image","mode","has","spatial","dimensionality","."]
code: def is_spatial(cls, image_mode: str):
      """
      Return if image mode has spatial dimensionality.
      """
      return any([s in image_mode for s in ["spatial"]])
  
imports: import parlai.core.build_data
  import parlai.utils.logging
  from parlai.utils.io import PathManager
  import os
  from PIL import Image
  import torch
  from zipfile import ZipFile
label_desc: Use image node_id 2 for calling the ImageLoader obj's underlying member method code with example usage: obj.is_spatial(cls, image_mode) and returns: any