between

dolfin.cpp.function.between(x, range)

Check whether x is between x0 and x1 (inclusive, to within DOLFIN_EPS)