near

dolfin.cpp.function.near(x: 'double', x0: 'double', eps: 'double'=3e-16) → 'bool'

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