class_docstr: A value range description.
docstr: Test whether a value is contained in the value range.
docstr_tok: ["Test","whether","a","value","is","contained","in","the","value","range","."]
code: def __contains__(self, x: float) -> bool:
      """Test whether a value is contained in the value range."""
      if self.lower is not None:
          if x < self.lower:
              return False
          if not self.lower_inclusive and x == self.lower:
              return False
      if self.upper is not None:
          if x > self.upper:
              return False
          if not self.upper_inclusive and x == self.upper:
              return False
      return True
  
imports: from dataclasses import dataclass
  from typing import ClassVar, Collection, Optional
  import numpy
  from docdata import get_docdata
  from scipy import stats
  from ..utils import ExtraReprMixin, camel_to_snake
label_desc: Use image node_id 1 for calling the ValueRange obj's underlying member method code with example usage: obj.__contains__(x) and returns: True, False, False, False, False