between function

Do the values from x fall between the left and right bounds?