code: def _parse_split(split):
      if split == "validation":
          return "val"
  
      if split not in ("test", "train"):
          raise ValueError(
              "Invalid split '%s''; supported values are %s"
              % (split, ("train", "test", "validation"))
          )
  
      return split
  
imports: import logging
  import os
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.dataset
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.media
  import fiftyone.core.sample
  import fiftyone.core.utils
  import fiftyone.utils.data
  import fiftyone.types
label_desc: Use image node_id 4 for calling a global function with example usage: _parse_split(split) and returns: split, str