near

dolfin.cpp.function.near(x, x0, eps=3e-16)

Check whether x is close to x0 (to within DOLFIN_EPS)