def containsx(self, x):
x0, x1 = self.intervalx<EOL>return ((x0 < x1<EOL>and (x >= x0 and x <= x1))<EOL>or (x >= x1 and x <= x0))<EOL>
Returns True if *x* is between or equal to :attr:`x0` and
:attr:`x1`.