class_docstr: Generate data for a custom CSV dataset.
  
  See https://github.com/fizyr/keras-retinanet#csv-datasets for more information.
class_docstr_tok: ["Generate","data","for","a","custom","CSV","dataset",".","See","https",":","\/\/github.com\/fizyr\/keras-retinanet","#","csv-datasets","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 .generator import Generator
  from ..utils.image import read_image_bgr
  import numpy
  from PIL import Image
  from six import raise_from
  import csv
  import sys
  import os.path
  from collections import OrderedDict
label_desc: Use image node_id 4 for calling the CSVGenerator obj's underlying member method code with example usage: obj.has_label(label) and returns: unknown