class_docstr: Helper class providing useful methods for working with ``SampleCollection`` datasets from FiftyOne.
  
  Args:
      label_field: The field in the ``SampleCollection`` containing the ground truth labels.
      label_cls: The ``FiftyOne.Label`` subclass to expect ground truth labels to be instances of. If ``None``,
          defaults to ``FiftyOne.Label``.
code: def __init__(
      self,
      label_field: str = "ground_truth",
      label_cls: Optional[Type[Label]] = None,
  ):
      super().__init__()
      self.label_field = label_field
      self.label_cls = label_cls or fol.Label
  
file_path: lightning-flash/src/flash/core/integrations/fiftyone/utils.py
imports: from itertools import chain
  from typing import Dict, List, Optional, Type, Union
  import flash
  from flash.core.utilities.imports import _FIFTYONE_AVAILABLE, lazy_import, requires
label_desc: Use image node_id 1 to create a new FiftyOneLabelUtilities object  with example: obj = FiftyOneLabelUtilities(label_field, label_cls)