isFeasible function

Check consistency of set of edits