near

dolfin.cpp.function.near(*args)

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