[build] Using zcheck 0.5.2.
[mgraph] Added a way to test if a triple was already added.