class_docstr: A (possibly unbounded) box in :math:`\mathbb{R}^n`.
  
  Specifically, a Box represents the Cartesian product of n closed intervals.
  Each interval has the form of one of :math:`[a, b]`, :math:`(-\infty, b]`,
  :math:`[a, \infty)`, or :math:`(-\infty, \infty)`.
  
  There are two common use cases:
  
  * Identical bound for each dimension::
  
      >>> Box(low=-1.0, high=2.0, shape=(3, 4), dtype=np.float32)
      Box(3, 4)
  
  * Independent bound for each dimension::
  
      >>> Box(low=np.array([-1.0, -2.0]), high=np.array([2.0, 4.0]), dtype=np.float32)
      Box(2,)
docstr: Check whether `other` is equivalent to this instance. Doesn't check dtype equivalence.
docstr_tok: ["Check","whether","`","other","`","is","equivalent","to","this","instance",".","Does","n't","check","dtype","equivalence","."]
code: def __eq__(self, other) -> bool:
      """Check whether `other` is equivalent to this instance. Doesn't check dtype equivalence."""
      return (
          isinstance(other, Box)
          and (self.shape == other.shape)
          # and (self.dtype == other.dtype)
          and np.allclose(self.low, other.low)
          and np.allclose(self.high, other.high)
      )
  
imports: from typing import Dict, List, Optional, Sequence, SupportsFloat, Tuple, Type, Union
  import numpy
  import gym.error
  from gym import logger
  from gym.spaces.space import Space
label_desc: Use image node_id 10 for calling the Box obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown