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: Return True if label is a known label.
          
docstr_tok: ["Return","True","if","label","is","a","known","label","."]
code: def has_label(self, label):
      """Return True if label is a known label."""
      return label in self.labels
  
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 4 for calling the PascalVocGenerator obj's underlying member method code with example usage: obj.has_label(label) and returns: unknown