class_docstr: Generate data for a Pascal VOC dataset.
  
  See http://host.robots.ox.ac.uk/pascal/VOC/ for more information.
class_docstr_tok: ["Generate","data","for","a","Pascal","VOC","dataset",".","See","http",":","\/\/host.robots.ox.ac.uk\/pascal\/VOC\/","for","more","information","."]
docstr: Returns True if name is a known class.
          
docstr_tok: ["Returns","True","if","name","is","a","known","class","."]
code: def has_name(self, name):
      """Returns True if name is a known class."""
      return name in self.classes
  
imports: from ..preprocessing.generator import Generator
  from ..utils.image import read_image_bgr
  import os
  import numpy
  from six import raise_from
  from PIL import Image
label_desc: Use image node_id 5 for calling the PascalVocGenerator obj's underlying member method code with example usage: obj.has_name(name) and returns: unknown