class_docstr: A class that provides distributed, random access to a Dataset.
  
  See: ``Dataset.to_random_access_dataset()``.
class_docstr_tok: ["A","class","that","provides","distributed",",","random","access","to","a","Dataset",".","See",":","``","Dataset.to_random_access_dataset","(",")","``","."]
code: def _find_le(self, x: Any) -> int:
      i = bisect.bisect_left(self._upper_bounds, x)
      if i >= len(self._upper_bounds) or x < self._lower_bound:
          return None
      return i
  
imports: import bisect
  import logging
  import random
  import time
  from collections import defaultdict
  from typing import TYPE_CHECKING, Any, List, Optional
  import numpy
  import ray
  from ray.data._internal.remote_fn import cached_remote_fn
  from ray.data.block import BlockAccessor
  from ray.data.context import DataContext
  from ray.types import ObjectRef
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 7 for calling the RandomAccessDataset obj's underlying member method code with example usage: obj._find_le(x) and returns: i, None