true if x is in the interval defined by the lower and upper bounds (includes end points)
the value to check