[MFMC]:[LearnConstraintXeXc]:Code for testing the validity of observation functions